代码搜索:pthread_create

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

代码结果 436
www.eeworm.com/read/408584/11380466

c test01.c

#include "unpthread.h" void * myfunc(void *ptr) { pause(); } int main(int argc, char **argv) { pthread_t tid; int n; /* Let's see what the return value is and what errno is after a error. */
www.eeworm.com/read/153144/12056304

c term.c

/************************************************ * serial communication demo * by Zou jian guo * 2003-12-22 * *************************************************/ #include
www.eeworm.com/read/252193/12294886

c 12-1.c

#include #include /*多线程编程中必须包含这个头文件*/ void handle(void) { int i; for( i=0; i < 10; i++) { printf("my name is sub_thread.\n"); } } int main(void){ pthread_
www.eeworm.com/read/130781/14174366

c incprint.c

/* incprint.c - one thread increments, the other prints */ #include #include #define NUM 5 int counter = 0; main() { pthread_t t1; /* one thread */ void *print_co
www.eeworm.com/read/129891/14218894

c test02.c

#include "unpthread.h" void * myfunc(void *ptr) { int val; printf("thread ID of myfunc: %d\n", pthread_self()); val = *((int *) ptr); printf("val = %d\n", val); sleep(10); val = *((int *) pt
www.eeworm.com/read/129891/14218896

c example01.c

#include "unpthread.h" #define NLOOP 5000 int counter; /* this is incremented by the threads */ void *doit(void *); int main(int argc, char **argv) { pthread_t tidA, tidB; Pthread_create(&t
www.eeworm.com/read/129891/14218899

c test01.c

#include "unpthread.h" void * myfunc(void *ptr) { pause(); } int main(int argc, char **argv) { pthread_t tid; int n; /* Let's see what the return value is and what errno is after a error. */
www.eeworm.com/read/230226/14296461

c pthread.c

#include "message.h" #include "led.h" #include "mwd.h" #include "ad.h" #include "sever.h" void * pwm(void *data); void init(struct prodcons * b) { pthread_mutex_init(&b->lock, NULL); pthread_cond
www.eeworm.com/read/230222/14296628

c term.c

/************************************************ * serial communication demo * by Zou jian guo * 2003-12-22 * *************************************************/ #include
www.eeworm.com/read/229459/14337263

c attr_thread.c

#include #include #include void thread1(void) { int i=0; for(i=0;i