代码搜索:pthread_create

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

代码结果 436
www.eeworm.com/read/124347/6053564

c join0.c

/* * Test for pthread_join(). * * Depends on API functions: pthread_create(), pthread_exit(). */ #include "test.h" void * func(void * arg) { Sleep(2000); pthread_exit(arg); /* Never reac
www.eeworm.com/read/117181/6110387

c killed.c

#include #include #include #include int pid; void * child_func (void *dummy) { kill (pid, SIGKILL); exit (1); } int main () { pthread_t child;
www.eeworm.com/read/492078/6423953

txt read_write.txt

#include #include #include #include #include #include #include #define in 0 #define out 1 #define waiting 2
www.eeworm.com/read/482748/6622039

c thread.c

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

c example02.c

#include "unpthread.h" #define NLOOP 5000 int counter; /* incremented by threads */ pthread_mutex_t counter_mutex = PTHREAD_MUTEX_INITIALIZER; void *doit(void *); int main(int argc, char **arg
www.eeworm.com/read/405316/11466455

c test.c

#include #include #include #include #include #include #include #include #include #include
www.eeworm.com/read/129891/14218900

c example02.c

#include "unpthread.h" #define NLOOP 5000 int counter; /* this is incremented by the threads */ pthread_mutex_t counter_mutex = PTHREAD_MUTEX_INITIALIZER; void *doit(void *); int main(int argc
www.eeworm.com/read/229459/14337270

c thread.c

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

c hello.c

/****************************************************************************** * FILE: hello.c * DESCRIPTION: * A "hello world" Pthreads program. Demonstrates thread creation and * termination.
www.eeworm.com/read/223685/14619381

c hello_arg1.c

/****************************************************************************** * FILE: hello_arg1.c * DESCRIPTION: * A "hello world" Pthreads program which demonstrates one safe way * to pass arg