代码搜索:pThread

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

代码结果 7,828
www.eeworm.com/read/488407/6494756

c pthread_test.c

#include #include #include #include"pthread.h" void reader_function(void); void writer_function(void); char buffer; int buffer_has_item=0; pthread_mutex_t mutex;
www.eeworm.com/read/482776/6611786

h pthread_alloc.h

/* * Copyright (c) 1996-1997 * Silicon Graphics Computer Systems, Inc. * * Permission to use, copy, modify, distribute and sell this software * and its documentation for any purpose is hereby gra
www.eeworm.com/read/481054/6656967

h pthread_alloc.h

/* * Copyright (c) 1996-1997 * Silicon Graphics Computer Systems, Inc. * * Permission to use, copy, modify, distribute and sell this software * and its documentation for any purpose is hereby gra
www.eeworm.com/read/410881/11266173

h pthread_alloc.h

/* * Copyright (c) 1996-1997 * Silicon Graphics Computer Systems, Inc. * * Permission to use, copy, modify, distribute and sell this software * and its documentation for any purpose is hereby gra
www.eeworm.com/read/408584/11381404

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/408584/11381428

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/408584/11381431

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/408584/11381438

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/408584/11381439

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/408584/11381441

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