c 读写锁 -demo
摘要:
#include <pthread.h> #include <stdio.h> #include <unistd.h> void readFunc(); void writeFunc(); int data = 0; pthread_rwlock_t rwlock; int main() { pth 阅读全文
posted @ 2020-02-27 00:47 luckygxf 阅读(438) 评论(0) 推荐(0) 编辑