摘要: /* Requirements: Priority Readers and Writers Write a multi-threaded C program that gives readers priority over writers concerning a shared (global) variable. Essentially, if any readers are waiting,... 阅读全文
posted @ 2019-05-21 11:20 ecoflex 阅读(146) 评论(0) 推荐(0) 编辑
摘要: pthread_create create a new data structure that's of the type pthread type. "pthread_t *thread" pthread_attr_t (p thread attribute type) is a data str 阅读全文
posted @ 2019-05-21 05:16 ecoflex 阅读(217) 评论(0) 推荐(0) 编辑