代码搜索:pThread
找到约 7,828 项符合「pThread」的源代码
代码结果 7,828
www.eeworm.com/read/124347/6053541
h test.h
/*
* test.h
*
* Useful definitions and declarations for tests.
*/
#ifndef _PTHREAD_TEST_H_
#define _PTHREAD_TEST_H_
#include "pthread.h"
#include "sched.h"
#include "semaphore.h"
#include
www.eeworm.com/read/124347/6053567
c condvar3_2.c
/*
* File: condvar3_2.c
*
* Test Synopsis:
* - Test timeout of multiple waits on a CV with remainder broadcast awoken.
*
* Test Method (Validation or Falsification):
* - Validation
*
* Requir
www.eeworm.com/read/120251/6077950
cxx ptrigger.cxx
/*
*
* C++ Portable Types Library (PTypes)
* Version 1.8.3 Released 25-Aug-2003
*
* Copyright (c) 2001, 2002, 2003 Hovik Melikyan
*
* http://www.melikyan.com/ptypes/
* http://pty
www.eeworm.com/read/117181/6110390
c pthreads.c
#include
#include "config.h"
#ifndef HAVE_PTHREAD_H
/* Don't even try to compile. In fact, cause a syntax error that we can
look for as a compiler error message and know that we have
www.eeworm.com/read/113165/6139964
cxx ptrigger.cxx
/*
*
* C++ Portable Types Library (PTypes)
* Version 1.8.3 Released 25-Aug-2003
*
* Copyright (c) 2001, 2002, 2003 Hovik Melikyan
*
* http://www.melikyan.com/ptypes/
* http://pty
www.eeworm.com/read/112192/6147976
c misc.c
/*
* misc.c
*
* Description:
* This translation unit implements miscellaneous thread functions.
*
* Pthreads-win32 - POSIX Threads Library for Win32
* Copyright (C) 1998
*
* This lib
www.eeworm.com/read/103510/6214918
h mutex.h
/*
* Written by Gilles Chanteperdrix .
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Lic
www.eeworm.com/read/103510/6214932
c tsd.c
/*
* Written by Gilles Chanteperdrix .
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Lic
www.eeworm.com/read/421459/6311317
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/421459/6311578
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