代码搜索:pThread
找到约 7,828 项符合「pThread」的源代码
代码结果 7,828
www.eeworm.com/read/181164/9271882
cpp wyonce.cpp
/* Copyright is licensed under GNU LGPL. by I.J.Wang 2003
*/
#define WYLIB_SOURCE
#include "wyonce.h"
void WyOnce::once( void(*once_func)(void) )
{
::pthread_once(&_ovar, once_func)
www.eeworm.com/read/377148/9293128
am makefile.am
AM_CFLAGS = -I ../../src/include/
check_PROGRAMS = mutex barrier cond pthread sem sem_open fork
www.eeworm.com/read/377148/9293134
c barrier.c
#define _XOPEN_SOURCE 600
#include
#include
#include
#include "alias.h"
struct timespec wait = {0, 10000000};
struct timespec rem;
#define WAIT nanosleep (&wait, &rem)
www.eeworm.com/read/178825/9385113
c thread_join.c
#include
#include
#define NTHREADS 10
void *thread_function();
pthread_mutex_t mutex1 = PTHREAD_MUTEX_INITIALIZER;
int counter = 0;
main()
{
pthread_t thread_id[NTHREADS];
www.eeworm.com/read/177968/9425428
makefile
###########################################################
# An example source module to accompany...
#
# "Using POSIX Threads: Programming with Pthreads"
# by Brad nichols, Dick Buttlar, Jackie
www.eeworm.com/read/177968/9425436
makefile
###########################################################
# An example source module to accompany...
#
# "Using POSIX Threads: Programming with Pthreads"
# by Brad nichols, Dick Buttlar, Jackie
www.eeworm.com/read/177968/9425516
makefile
###########################################################
# An example source module to accompany...
#
# "Using POSIX Threads: Programming with Pthreads"
# by Brad nichols, Dick Buttlar, Jackie
www.eeworm.com/read/177968/9425525
makefile
###########################################################
# An example source module to accompany...
#
# "Using POSIX Threads: Programming with Pthreads"
# by Brad nichols, Dick Buttlar, Jackie
www.eeworm.com/read/177968/9425629
makefile
###########################################################
# An example source module to accompany...
#
# "Using POSIX Threads: Programming with Pthreads"
# by Brad nichols, Dick Buttlar, Jackie
www.eeworm.com/read/177968/9425635
makefile
###########################################################
# An example source module to accompany...
#
# "Using POSIX Threads: Programming with Pthreads"
# by Brad nichols, Dick Buttlar, Jackie