代码搜索:pThread
找到约 7,828 项符合「pThread」的源代码
代码结果 7,828
www.eeworm.com/read/162614/5515334
h darwin_semaphore.h
#ifndef GC_DARWIN_SEMAPHORE_H
#define GC_DARWIN_SEMAPHORE_H
#if !defined(GC_DARWIN_THREADS)
#error darwin_semaphore.h included with GC_DARWIN_THREADS not defined
#endif
/*
This is a very simple s
www.eeworm.com/read/162519/5540860
h darwin_semaphore.h
#ifndef GC_DARWIN_SEMAPHORE_H
#define GC_DARWIN_SEMAPHORE_H
#if !defined(GC_DARWIN_THREADS)
#error darwin_semaphore.h included with GC_DARWIN_THREADS not defined
#endif
/*
This is a very simple s
www.eeworm.com/read/471497/6894815
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/294005/8258100
h l7-conntrack.h
/*
Functions and classes which track the conntracks for l7-filter
By Ethan Sommer and Matthew Strait
, (C) 2006-2007
http://l7-filter.sf.net
www.eeworm.com/read/292919/8325246
mk solaris.mk
include ../Make.defines.solaris
EXTRA=-D_POSIX_PTHREAD_SEMANTICS
EXTRALIBS=-lrt -lpthread
PROGS = atfork timeout suspend
all: detach.o getenv1.o getenv2.o getenv3.o ${PROGS}
detach.o: detach.c
tim
www.eeworm.com/read/392544/8337117
mk solaris.mk
include ../Make.defines.solaris
EXTRA=-D_POSIX_PTHREAD_SEMANTICS
EXTRALIBS=-lrt -lpthread
PROGS = atfork timeout suspend
all: detach.o getenv1.o getenv2.o getenv3.o ${PROGS}
detach.o: detach.c
tim
www.eeworm.com/read/173458/9657076
cpp list8-2.cpp
// Listing 8-1
// This program demonstrates the
// use of a lockable global variable Number updated by
// two threads
#include
#include
#include
#include
www.eeworm.com/read/173458/9657078
cpp list8-1.cpp
// Listing 8-1
// This program demonstrates the improper use
// use of a global mutex to protect a object
// two threads
#include
#include
#include
#include
www.eeworm.com/read/173458/9657080
txt list8-2.txt
1 // Listing 8-2
2 // This program demonstrates the
3 // use of a lockable global variable Number updated by
4 // two threads
5
6 #include
7
www.eeworm.com/read/269691/11083409
mk solaris.mk
include ../Make.defines.solaris
EXTRA=-D_POSIX_PTHREAD_SEMANTICS
EXTRALIBS=-lrt -lpthread
PROGS = atfork timeout suspend
all: detach.o getenv1.o getenv2.o getenv3.o ${PROGS}
detach.o: detach.c
tim