摘要: /* * critical.c * * Demonstrate use of mutual exclusion using mutexes * * Upper case output indicates critical output * lower case output indicates no 阅读全文
posted @ 2021-03-05 21:24 专注it 阅读(97) 评论(0) 推荐(0)
摘要: /* * multithread.c * * Demonstrate use of a multi threading and scheduling using pthreads * * compile with cc multithread.c -o multithread -lrt -lpthr 阅读全文
posted @ 2021-03-05 21:21 专注it 阅读(110) 评论(0) 推荐(0)