代码搜索:pThread
找到约 7,828 项符合「pThread」的源代码
代码结果 7,828
www.eeworm.com/read/264377/11317374
c rwlock.c
#include
#include
struct job {
struct job *j_next;
struct job *j_prev;
pthread_t j_id; /* tells which thread handles this job */
/* ... more stuff here ... */
};
struc
www.eeworm.com/read/264377/11317978
13 fig11.13
#include
#include
struct job {
struct job *j_next;
struct job *j_prev;
pthread_t j_id; /* tells which thread handles this job */
/* ... more stuff here ... */
};
struc
www.eeworm.com/read/347238/11680668
c pi-solution.c
#include
#include
#define NUM_STEPS 1000000
#define NUM_THREADS 4
double gStep = 0.0;
double gPi = 0.0;
pthread_mutex_t gLock;
void *threadFunction(void *pArg)
{
int myNum
www.eeworm.com/read/253411/12225106
13 fig11.13
#include
#include
struct job {
struct job *j_next;
struct job *j_prev;
pthread_t j_id; /* tells which thread handles this job */
/* ... more stuff here ... */
};
struc
www.eeworm.com/read/253410/12225232
c rwlock.c
#include
#include
struct job {
struct job *j_next;
struct job *j_prev;
pthread_t j_id; /* tells which thread handles this job */
/* ... more stuff here ... */
};
struc
www.eeworm.com/read/251545/12338481
c thread2.c
#include
#include
#include
#include
void *thread_function(void *arg);
char message[] = "Hello World";
int main() {
int res;
pthread_t a_thread;
www.eeworm.com/read/129337/14250675
c thread2.c
#include
#include
#include
#include
void *thread_function(void *arg);
char message[] = "Hello World";
int main() {
int res;
pthread_t a_thread;
www.eeworm.com/read/228773/14363793
c thread2.c
#include
#include
#include
#include
void *thread_function(void *arg);
char message[] = "Hello World";
int main() {
int res;
pthread_t a_thread;
www.eeworm.com/read/246537/4493579
c test05.c
/* See what the implementation returns for TSD keys */
#include "unpthread.h"
pthread_key_t my_key;
int
main(int argc, char **argv)
{
int *iptr;
Pthread_key_create(&my_key, NULL);
printf("firs
www.eeworm.com/read/200278/5070779
c rwlock.c
#include
#include
struct job {
struct job *j_next;
struct job *j_prev;
pthread_t j_id; /* tells which thread handles this job */
/* ... more stuff here ... */
};
struc