代码搜索:pThread

找到约 7,828 项符合「pThread」的源代码

代码结果 7,828
www.eeworm.com/read/162614/5540509

c pass37-frag.c

#include #include #include #include static void * func (void *p) { int *counter = (int *) p; unsigned i; for (i=0; i
www.eeworm.com/read/158872/5591930

c print-threads.c

#include #include #include #include void *thread_function(void *arg); /* Pointer to function executed by each thread */ int slow = 0; #define NUM 5 int
www.eeworm.com/read/158872/5591939

c schedlock.c

#include #include #include #include void *thread_function(void *arg); /* Pointer to function executed by each thread */ #define NUM 5 unsigned int args[N
www.eeworm.com/read/292919/8325234

8 fig12.8

#include "apue.h" #include #include #include extern int makethread(void *(*)(void *), void *); struct to_info { void (*to_fn)(void *); /* function */ void *to_arg
www.eeworm.com/read/292919/8325258

c timeout.c

#include "apue.h" #include #include #include extern int makethread(void *(*)(void *), void *); struct to_info { void (*to_fn)(void *); /* function */ void *to_arg
www.eeworm.com/read/292919/8325270

7 fig13.7

#include "apue.h" #include #include sigset_t mask; extern int already_running(void); void reread(void) { /* ... */ } void * thr_fn(void *arg) { int err, signo; for (;;)
www.eeworm.com/read/292919/8325659

c reread.c

#include "apue.h" #include #include sigset_t mask; extern int already_running(void); void reread(void) { /* ... */ } void * thr_fn(void *arg) { int err, signo; for (;;)
www.eeworm.com/read/392544/8337112

8 fig12.8

#include "apue.h" #include #include #include extern int makethread(void *(*)(void *), void *); struct to_info { void (*to_fn)(void *); /* function */ void *to_arg
www.eeworm.com/read/392544/8337122

c timeout.c

#include "apue.h" #include #include #include extern int makethread(void *(*)(void *), void *); struct to_info { void (*to_fn)(void *); /* function */ void *to_arg
www.eeworm.com/read/392544/8337133

7 fig13.7

#include "apue.h" #include #include sigset_t mask; extern int already_running(void); void reread(void) { /* ... */ } void * thr_fn(void *arg) { int err, signo; for (;;)