代码搜索:pThread

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

代码结果 7,828
www.eeworm.com/read/364932/9886830

16 fig12.16

#include "apue.h" #include int quitflag; /* set nonzero by thread */ sigset_t mask; pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER; pthread_cond_t waitloc = PTHREAD_COND_INITIALIZER;
www.eeworm.com/read/364932/9887273

c getenv3.c

#include #include #include #include static pthread_key_t key; static pthread_once_t init_done = PTHREAD_ONCE_INIT; pthread_mutex_t env_mutex = PTHREAD_MUT
www.eeworm.com/read/364932/9887277

c suspend.c

#include "apue.h" #include int quitflag; /* set nonzero by thread */ sigset_t mask; pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER; pthread_cond_t waitloc = PTHREAD_COND_INITIALIZER;
www.eeworm.com/read/364932/9887358

13 fig12.13

#include #include #include #include static pthread_key_t key; static pthread_once_t init_done = PTHREAD_ONCE_INIT; pthread_mutex_t env_mutex = PTHREAD_MUT
www.eeworm.com/read/167847/9950623

c server6.c

/* include servproc */ #include "unpipc.h" void servproc(void *cookie, char *dataptr, size_t datasize, door_desc_t *descptr, size_t ndesc) { long arg, result; arg = *((long *) dataptr); print
www.eeworm.com/read/363056/9969655

c fuse_loop_mt.c

/* FUSE: Filesystem in Userspace Copyright (C) 2001-2007 Miklos Szeredi This program can be distributed under the terms of the GNU LGPLv2. See the file COPYING.LI
www.eeworm.com/read/162604/10291844

c thr-pthreads.c

/* GNU Objective C Runtime Thread Implementation for PCThreads under GNU/Linux. Copyright (C) 1996, 1997 Free Software Foundation, Inc. Contributed by Scott Christley
www.eeworm.com/read/425978/10298864

c mutex_unix.c

/* ** 2007 August 28 ** ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ** ** May you do good and not evil. ** May you find forgiveness
www.eeworm.com/read/160757/10501315

h http.h

#ifndef _HTTP_H_031105_ #define _HTTP_H_031105_ #include using namespace std; class CHttp { private: string m_strUrl; // url int *m_sock; // socket public: CHttp(); virtual ~CHttp();
www.eeworm.com/read/278507/10529790

c wrappthread.c

/* * pthreads wrapper functions. */ #include "unp.h" #include "unpthread.h" void Pthread_create(pthread_t *tid, const pthread_attr_t *attr, void * (*func)(void *), void *arg) { int n; if