代码搜索:pThread

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

代码结果 7,828
www.eeworm.com/read/113863/15446333

c incr_pxmutex5.c

/* include main */ #include "unpipc.h" #define MAXNPROC 100 int nloop; struct shared { pthread_mutex_t mutex; long counter; } *shared; /* pointer; actual structure in shared memory */ void *
www.eeworm.com/read/100584/15870908

c incr_pxmutex5.c

/* include main */ #include "unpipc.h" #define MAXNPROC 100 int nloop; struct shared { pthread_mutex_t mutex; long counter; } *shared; /* pointer; actual structure in shared memory */ void *
www.eeworm.com/read/389084/8549070

c pi.c

/* Parallel C code to demonstrate Linux thread interface */ /* Algorithm appears to be based on the series expansion of arctan(pi/4) */ #include #include #include vo
www.eeworm.com/read/288541/8623546

cpp test.cpp

#include #include #include #include #include #include #include #include #include //#include
www.eeworm.com/read/183805/9137701

c input.c

/* GNU Chess 5.0 - input.c - Input thread and related Bastardized version since we have no RTOS - unless we were to try an interrupt driven UART input scheme. */ /* * All the pthread stuff
www.eeworm.com/read/167847/9950274

c prodcons2.c

/* include main */ #include "unpipc.h" #define MAXNITEMS 1000000 #define MAXNTHREADS 100 int nitems; /* read-only by producer and consumer */ struct { pthread_mutex_t mutex; int buff[MAXN
www.eeworm.com/read/167847/9950277

c prodcons1.c

/* include main */ #include "unpipc.h" #define MAXNITEMS 1000000 #define MAXNTHREADS 100 int nitems; /* read-only by producer and consumer */ struct { pthread_mutex_t mutex; int buff[MAXN
www.eeworm.com/read/444606/7610946

c prodcons2.c

/* include main */ #include "unpipc.h" #define MAXNITEMS 1000000 #define MAXNTHREADS 100 int nitems; /* read-only by producer and consumer */ struct { pthread_mutex_t mutex; int buff[MAXN
www.eeworm.com/read/444606/7610948

c prodcons1.c

/* include main */ #include "unpipc.h" #define MAXNITEMS 1000000 #define MAXNTHREADS 100 int nitems; /* read-only by producer and consumer */ struct { pthread_mutex_t mutex; int buff[MAXN
www.eeworm.com/read/444452/7612561

cpp cbcl_model_internal.cpp

/*! * * * sharat@mit.edu */ #include "cbcl_model_internal.h" #include #define THREAD 1 #define NUMT 15 typedef struct { const image* pimg; const vector