代码搜索:pThread
找到约 7,828 项符合「pThread」的源代码
代码结果 7,828
www.eeworm.com/read/216781/4888117
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
www.eeworm.com/read/216781/4888118
c prodcons3.c
#include "unpipc.h"
#define MAXNITEMS 1000000
#define MAXNTHREADS 100
int nitems; /* read-only by producer and consumer */
struct {
pthread_mutex_t mutex;
int buff[MAXNITEMS];
www.eeworm.com/read/216781/4888119
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
www.eeworm.com/read/198916/5080714
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
www.eeworm.com/read/198916/5080797
c prodcons5.c
#include "unpipc.h"
#define MAXNITEMS 1000000
#define MAXNTHREADS 100
int nitems; /* read-only by producer and consumer */
struct {
pthread_mutex_t mutex;
int buff[MAXNITEMS];
www.eeworm.com/read/198916/5080800
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
www.eeworm.com/read/198916/5080801
c prodcons3.c
#include "unpipc.h"
#define MAXNITEMS 1000000
#define MAXNTHREADS 100
int nitems; /* read-only by producer and consumer */
struct {
pthread_mutex_t mutex;
int buff[MAXNITEMS];
www.eeworm.com/read/198916/5080802
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
www.eeworm.com/read/183699/5252688
h semaphore.h
/**
* \file ucos2_semaphore.h
* \author Wei Yongming
* \date 2004/02/03
*
* semaphore.h: This header contains the pthread semaphore definitions
* needed
www.eeworm.com/read/174090/5365712
h semaphore.h
/**
* \file ucos2_semaphore.h
* \author Wei Yongming
* \date 2004/02/03
*
* semaphore.h: This header contains the pthread semaphore definitions
* needed