![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux c/c++
cugwxs
这个作者很懒,什么都没留下…
展开
-
linux系统中的多线程互斥量操作demon
/* date:2015.12.22 author:wxs demon:pthread using demon commd:gcc -o pthread0 pthread0.c -L /usr/lib/i386-linux-gnu/libpthread.a -lpthread */ #include #include #include #include #include int转载 2015-12-22 06:54:38 · 391 阅读 · 0 评论 -
linux多进程操作demon
//*author:cugwxs date:2015.12.26 fuction:linux多线程操作demon */ #include #include #include #include int main () { pid_t pc0,pc1,pr0,pr1; unsigned int i,j,z; pc0 = fork(); if (pc0 < 0) printf("e原创 2015-12-26 02:08:02 · 294 阅读 · 0 评论