代码搜索:pThread
找到约 7,828 项符合「pThread」的源代码
代码结果 7,828
www.eeworm.com/read/387007/8713060
hh lockable.hh
/* Copyright (C) 2005, SWECO, All Rights Reserved.
Definition of the lockable property of a class
$Id$
Author: Zsolt Molnar (Zsolt.Molnar@ieee.org)
-------------------------------------
www.eeworm.com/read/382751/9003305
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/183272/9172394
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/183272/9172799
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/183272/9172801
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/183272/9172879
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/377683/9265851
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/372735/9495303
c example92.c
/* example92.c */
#include
#include
#define MAXNITEMS 1000000
#define MAXNTHREADS 100
#define min(a,b) ((a) < (b) ? (a) : (b))
int nitems;
int buf
www.eeworm.com/read/175598/9540363
c condvar1_1.c
/*
* File: condvar1_1.c
*
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX Threads Library for Win32
* Copyright(C) 1998 John
www.eeworm.com/read/175598/9540529
bat builddmc.bat
; Build the pthreads library with the Digital Mars Compiler
;
set DMCDIR=c:\dm
; RELEASE
%DMCDIR%\bin\dmc -D_WIN32_WINNT -D_MT -DHAVE_CONFIG_H -I.;c:\dm\include -o+all -WD pthread.c user32.lib+kern