代码搜索:pThread
找到约 7,828 项符合「pThread」的源代码
代码结果 7,828
www.eeworm.com/read/332098/12780217
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/332098/12780314
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/331181/12840451
c testline.c
/* For DWXX */
arryLen = LoadData(TYPE_OF_DWXX,GetCount( TYPE_OF_DWXX) );
printf("*************************First time Load data****************************\n");
/* Debug */printf(" Address of the
www.eeworm.com/read/243434/12941046
c ex4.c
/* Making a library function that uses static variables thread-safe.
Illustrates: thread-specific data, pthread_once(). */
#include
#include
#include
#include
www.eeworm.com/read/243434/12941076
c semaphore.c
/* Linuxthreads - a simple clone()-based implementation of Posix */
/* threads for Linux. */
/* Copyright (C) 1996 Xavier Leroy (Xavier.Leroy@i
www.eeworm.com/read/141269/13026607
cpp wintimerthread.cpp
#include "stdafx.h"
#include "token.h"
#include "WinTimerThread.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// Static declarations
static CMapPtrToPtr g_MapTimerID_TO_CWinThreadPtr;
st
www.eeworm.com/read/327242/13091896
linux_pgsql makefile.linux_pgsql
#
# makefile for fasta3, fasta3_t. Use makefile.pvm for pvcompxx.
#
# On the version of linux that I use, MININT is defined and causes a warning
# as dropnfa.c is compiled. Unfortunately, using the
www.eeworm.com/read/327242/13092321
linux_sql makefile.linux_sql
#
# makefile for fasta3, fasta3_t. Use makefile.pvm for pvcompxx.
#
# On the version of linux that I use, MININT is defined and causes a warning
# as dropnfa.c is compiled. Unfortunately, using the
www.eeworm.com/read/327242/13092454
linux_mysql makefile.linux_mysql
#
# makefile for fasta3, fasta3_t. Use makefile.pvm for pvcompxx.
#
# On the version of linux that I use, MININT is defined and causes a warning
# as dropnfa.c is compiled. Unfortunately, using the
www.eeworm.com/read/239313/13288271
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