代码搜索:pthread_create

找到约 436 项符合「pthread_create」的源代码

代码结果 436
www.eeworm.com/read/369854/9631201

c thread.c

#include #include void thread1(void) { int i=0; for(i=0;i
www.eeworm.com/read/173430/9658727

c tst-syslogd.c

/* * tst-syslogd.c - tests concurrent threads calling syslog * * build with: gcc -Wall tst-syslogd.c -lpthread */ #include #include #include #include
www.eeworm.com/read/267540/11175206

txt 信号量.txt

4.4 信号量   信号量本质上是一个非负的整数计数器,它被用来控制对公共资源的访问。当公共资源增加时,调用函数sem_post()增加信号量。只有当信号量值大于0时,才能使用公共资源,使用后,函数sem_wait()减少信号量。函数sem_trywait()和函数pthread_ mutex_trylock()起同样的作用,它是函数sem_wait()的非阻塞版本。下面我们逐个介绍和信号量有关 ...
www.eeworm.com/read/300738/13895279

c thread.c

#include #include void thread1(void) { int i=0; for(i=0;i
www.eeworm.com/read/200284/15435849

c thread.c

#include #include void thread1(void) { int i=0; for(i=0;i
www.eeworm.com/read/200284/15435881

c thread.c

#include #include void thread1(void) { int i=0; for(i=0;i
www.eeworm.com/read/434013/7897340

c main.c

/************************************************ * GPS read demo ,use com2 * by Zou jian guo * 2004-10-22 * *************************************************/ #include
www.eeworm.com/read/240158/13234216

c multithread.c

/***************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | *