代码搜索:pThread
找到约 7,828 项符合「pThread」的源代码
代码结果 7,828
www.eeworm.com/read/465152/7058972
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.LIB.
*/
#
www.eeworm.com/read/131172/7122644
cxx prwlock.cxx
/*
*
* C++ Portable Types Library (PTypes)
* Version 2.0.2 Released 17-May-2004
*
* Copyright (C) 2001-2004 Hovik Melikyan
*
* http://www.melikyan.com/ptypes/
*
*/
#ifdef WIN32
# inclu
www.eeworm.com/read/408948/7153234
h net.h
#include
#include
#include"audio_conf.h"
class net : public QObject
{
Q_OBJECT
public:
net();
~net();
public slots:
void init_net();
public:
void start_receive();
void sto
www.eeworm.com/read/457066/7334501
c main.c
/************************************************
* GPRS demo, use ppp to connect internet
* use ttyS1 to ctrol GPRS
* by Zou jian guo
* 2004-11-02
*
*********************
www.eeworm.com/read/444602/7610990
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/443644/7629670
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/289562/7805574
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/289562/7805835
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/289562/7805836
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/289562/7805881
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