pthread_cond_wait , pthread_cond_signal
摘要:pthread_cond_wait , pthread_cond_signal可以用来解决多线程生产者消费者模型的问题。UNP p730线程池模型。
阅读全文
系统设计题分析
摘要:http://www.hiredintech.com/system-design/Scopethe problem: Don't make assumptions; Ask questions; Understand the constraints and use cases.Sketch up a...
阅读全文