代码搜索:pThread
找到约 7,828 项符合「pThread」的源代码
代码结果 7,828
www.eeworm.com/read/106368/15638614
c detached.c
#include
#include
int exitCond=0;
using namespace cpp_threads;
class simple : public Pthread {
protected:
Semaphore m_sem;
public:
simple() { };
~simple() { }
int t
www.eeworm.com/read/100584/15871006
c prodcons2.c
/* include main */
#include "unpipc.h"
#define MAXNITEMS 1000000
#define MAXNTHREADS 100
int nitems; /* read-only by producer and consumer */
struct {
pthread_mutex_t mutex;
int buff[MAXN
www.eeworm.com/read/100584/15871008
c prodcons1.c
/* include main */
#include "unpipc.h"
#define MAXNITEMS 1000000
#define MAXNTHREADS 100
int nitems; /* read-only by producer and consumer */
struct {
pthread_mutex_t mutex;
int buff[MAXN
www.eeworm.com/read/100019/15887951
c buffer.c
//
// This example demonstrates semaphores.
//
#include
#include
#include
class typeit : public pthread {
protected:
semaphore t_sem;
string s;
int i;
www.eeworm.com/read/437877/7740579
h fcgi_config_x86.h
/*
* Copied to fcgi_config.h when building on WinNT without cygwin,
* i.e. configure is not run. See fcgi_config.h.in for details.
*/
#define HAVE_FPOS 1
#define HAVE_LIMITS_H 1
#define HAVE_S
www.eeworm.com/read/437877/7740581
h fcgi_config.h
/*
* Copied to fcgi_config.h when building on WinNT without cygwin,
* i.e. configure is not run. See fcgi_config.h.in for details.
*/
#define HAVE_FPOS 1
#define HAVE_LIMITS_H 1
#define HAVE_S
www.eeworm.com/read/308733/13694273
h fcgi_config_x86.h
/*
* Copied to fcgi_config.h when building on WinNT without cygwin,
* i.e. configure is not run. See fcgi_config.h.in for details.
*/
#define HAVE_FPOS 1
#define HAVE_LIMITS_H 1
#define HAVE_S
www.eeworm.com/read/389084/8549074
c prodcom.c
#include
#include
#include
sem_t empty, full; // the global semaphores
int data; // shared buffer
int num;
// deposit 1, ..., num into the da
www.eeworm.com/read/181164/9271899
cpp wyret.cpp
/* Copyright is licensed under GNU LGPL. by I.J.Wang 2003
*/
#define WYLIB_SOURCE
#include "wyret.h"
#include
#include // for strlen
#include // f
www.eeworm.com/read/169790/9838052
changelog
From Common C++ 1.3.20 to 1.3.21
- use ios header for gcc atomics
- spec file fixed
- fix for null keys for Keydata loadFile
From Common C++ 1.3.19 to 1.3.20
- fix for pthread platforms with expirati