代码搜索:pThread

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

代码结果 7,828
www.eeworm.com/read/352727/10521219

c pthread_create.c

#include #include #define NUM 1000 static pthread_mutex_t LOCK, *m_LOCK = &LOCK; void *hping(int *index) { char cmd_buff[512]; int *index2; index2 = (int *)index;
www.eeworm.com/read/278507/10531698

h pthread08.h

typedef struct { pthread_t thread_tid; /* thread ID */ long thread_count; /* # connections handled */ } Thread; Thread *tptr; /* array of Thread structures; calloc'ed */ #define MAXNCLI 32 i
www.eeworm.com/read/278507/10531720

c pthread08.c

#include "unpthread.h" #include "pthread08.h" void thread_make(int i) { void *thread_main(void *); Pthread_create(&tptr[i].thread_tid, NULL, &thread_main, (void *) i); return; /* main thread ret
www.eeworm.com/read/278507/10531723

lc pthread08.lc

#include "unpthread.h"## 1 ##src/server/pthread08.c## #include "pthread08.h"## 2 ##src/server/pthread08.c## void## 3 ##src/server/pthread08.c## thread_make(int i)## 4 ##src/server/pthread08
www.eeworm.com/read/278507/10531731

h pthread09.h

typedef struct { pthread_t thread_tid; /* thread ID */ long thread_count; /* #connections handled */ } Thread; Thread *tptr; /* array of Thread structures; calloc'ed */ int listenfd, nthr
www.eeworm.com/read/278507/10531734

lc lock_pthread.lc

/* include my_lock_init */ #include "unpthread.h"## 1 ##src/server/lock_pthread.c## #include ## 2 ##src/server/lock_pthread.c## static pthread_mutex_t *mptr; /* actual mutex wil
www.eeworm.com/read/278507/10531740

c pthread09.c

#include "unpthread.h" #include "pthread09.h" void thread_make(int i) { void *thread_main(void *); Pthread_create(&tptr[i].thread_tid, NULL, &thread_main, (void *) i); return; /* main thread ret
www.eeworm.com/read/278507/10531772

lc pthread07.lc

#include "unpthread.h"## 1 ##src/server/pthread07.c## #include "pthread07.h"## 2 ##src/server/pthread07.c## void## 3 ##src/server/pthread07.c## thread_make(int i)## 4 ##src/server/pthread07
www.eeworm.com/read/278507/10531797

h pthread07.h

typedef struct { pthread_t thread_tid; /* thread ID */ long thread_count; /* # connections handled */ } Thread; Thread *tptr; /* array of Thread structures; calloc'ed */ int listenfd, nth
www.eeworm.com/read/278507/10531807

c pthread07.c

#include "unpthread.h" #include "pthread07.h" void thread_make(int i) { void *thread_main(void *); Pthread_create(&tptr[i].thread_tid, NULL, &thread_main, (void *) i); return; /* main thread ret