搜索资源列表
readerwriter
- 读者写者问题C++解法,使用互斥信号量,写者线程优先,共有3个读者2个写者-Similar to the barbers problem,the program use semaphore to solve the reader/writer problem.Two semaphores are involved:m_h,db_h,used as a counter and mutex between 2 writers. Main function create 3 reader thre
uTenux-example
- uTenxu的例子,包含任务,信号量,互斥体,邮箱,事件标志,消息缓冲,内存池,中断(The example of uTenxu includes tasks, semaphore, mutex, mailbox, event flag, message buffer, memory pool, interrupt.)