随笔分类 -  操作系统OS

摘要:参考 https://www.quora.com/What is meant by edge triggering and level triggering http://man7.org/linux/man pages/man7/epoll.7.html https://www.quora.com 阅读全文
posted @ 2019-07-24 22:35 Rocin 阅读(382) 评论(0) 推荐(0)
摘要:![](https://images2018.cnblogs.com/blog/1310818/201808/1310818-20180816103749515-1089449130.png) 阅读全文
posted @ 2018-08-16 10:14 Rocin 阅读(302) 评论(0) 推荐(0)
摘要:同步和异步关注的是消息通信机制,阻塞/非阻塞是程序在等待调用结果(消息,返回值)时的状态 阅读全文
posted @ 2018-04-25 20:12 Rocin 阅读(695) 评论(0) 推荐(0)
摘要:留坑 参考: 1. https://en.wikipedia.org/wiki/Coroutine 2. https://zh.wikipedia.org/wiki/%E5%8D%8F%E7%A8%8B 3. http://www.cnblogs.com/xybaby/p/6323358.html 阅读全文
posted @ 2018-04-25 09:57 Rocin 阅读(421) 评论(0) 推荐(0)
摘要:多进程(multiprocessing) 参考: 1. https://docs.python.org/3.6/library/multiprocessing.html 1. 多进程概念 multiprocessing is a package that supports spawning proc 阅读全文
posted @ 2018-04-23 22:07 Rocin 阅读(1009) 评论(0) 推荐(0)
摘要:1. 缓冲区(此处用阻塞队列充当),解决消费者和生产者强耦合问题。(生产者和消费者不直接通信) 2. 通过平衡生产者线程和消费者线程,来提高程序整体处理数据速度。 3. 在并发编程中该模式能解决大多数并发问题。 4. 例子1. 生产者生产一次,每个消费者消费一次 5. 例子2. 生产者和消费者动态生 阅读全文
posted @ 2018-04-23 21:45 Rocin 阅读(541) 评论(0) 推荐(0)
摘要:参考: 1. https://stackoverflow.com/questions/49859287/what is the need of threading lock when cpython has gil 2. https://stackoverflow.com/questions/400 阅读全文
posted @ 2018-04-22 12:56 Rocin 阅读(740) 评论(0) 推荐(0)
摘要:1. 问题:很好奇为什么叫Join? 参考: 1. https://blog.csdn.net/frankarmstrong/article/details/55504161 2. https://stackoverflow.com/questions/15956231/what does this 阅读全文
posted @ 2018-04-22 11:02 Rocin 阅读(682) 评论(0) 推荐(0)
摘要:``` 1. shift + f10 2. cd oobe 3. Msoobe ``` 阅读全文
posted @ 2018-04-22 00:59 Rocin 阅读(541) 评论(0) 推荐(1)
摘要:https://en.wikipedia.org/wiki/Scheduling_(computing) 在wiki的下面可以找到 阅读全文
posted @ 2018-04-22 00:33 Rocin 阅读(282) 评论(0) 推荐(0)
摘要:1. https://blog.csdn.net/wuyuegb2312/article/details/16359821 2. https://www.youtube.com/watch?v=YQ3Fep69CYM 阅读全文
posted @ 2018-04-22 00:31 Rocin 阅读(1909) 评论(0) 推荐(0)
摘要:42.zip A 42 kb zip file that contains 4.5 Petabytes of uncompressed data. 阅读全文
posted @ 2018-04-22 00:27 Rocin 阅读(235) 评论(0) 推荐(0)
摘要:1. Type %0|%0 2. Save the file to your desktop as anything.bat 阅读全文
posted @ 2018-04-22 00:25 Rocin 阅读(302) 评论(0) 推荐(0)
摘要:参考: http://blog.jobbole.com/103290/ https://www.zhihu.com/question/19732473/answer/23434554 http://blog.huanghao.me/?p=95 1. 同步和异步关注的是 消息通信机制 。 2. 非阻塞 阅读全文
posted @ 2018-04-13 12:23 Rocin 阅读(388) 评论(0) 推荐(0)