代码搜索:pThread

找到约 7,828 项符合「pThread」的源代码

代码结果 7,828
www.eeworm.com/read/290808/3970713

c wrappthread.c

/* * pthreads wrapper functions. */ #include "unp.h" #include "unpthread.h" void Pthread_create(pthread_t *tid, const pthread_attr_t *attr, void * (*func)(void *), void *arg) { int n; if
www.eeworm.com/read/279968/4129828

c ecmutex.c

/* Test of the error checking mutex and incidently also barriers. */ #include #include #include #include static pthread_mutex_t locks[] = { PTHREAD_ERR
www.eeworm.com/read/411046/2196640

c getservby_r.c

#include "pthread.h" #include #include static pthread_mutex_t getservby_mutex = PTHREAD_MUTEX_INITIALIZER; static int convert (struct servent *ret, struct servent *result,
www.eeworm.com/read/411046/2196649

c getprotoby_r.c

#include "pthread.h" #include #include static pthread_mutex_t getprotoby_mutex = PTHREAD_MUTEX_INITIALIZER; static int convert (struct protoent *ret, struct protoent *result,
www.eeworm.com/read/252498/4403936

c getservby_r.c

#include "pthread.h" #include #include static pthread_mutex_t getservby_mutex = PTHREAD_MUTEX_INITIALIZER; static int convert (struct servent *ret, struct servent *result,
www.eeworm.com/read/252498/4403945

c getprotoby_r.c

#include "pthread.h" #include #include static pthread_mutex_t getprotoby_mutex = PTHREAD_MUTEX_INITIALIZER; static int convert (struct protoent *ret, struct protoent *result,
www.eeworm.com/read/241064/4564056

wrappers posix.wrappers

pthread_create pthread_detach pthread_setschedparam pthread_yield sched_yield sem_init sem_destroy sem_post sem_timedwait sem_wait sem_trywait sem_getvalue sem_open sem_close sem_unlink clock_getres c
www.eeworm.com/read/242877/12975142

h thread_rwlock.h

#ifndef THREAD_RWLOCK_H #define THREAD_RWLOCK_H /* this gives us pthread_rwlock_t */ #include #include #define PTHREAD_SETS_ERRNO typedef struct thread_rwloc
www.eeworm.com/read/233955/4663206

simple makefile.simple

#CPPFLAGS = -pthread -D__cplusplus -D_UNIX -D_REENTRANT $(INCLUDES) #LDFLAGS = -pthread CPPFLAGS = -DPRIVATE_BROADCASTER -static -pthread -D__cplusplus -D_UNIX -D_LINUX_STATIC -D_REENTRANT $(INCLU
www.eeworm.com/read/233955/4663207

old makefile.old

CPPFLAGS = -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT $(INCLUDES) LDFLAGS = -pthread #CPPFLAGS = -static -pthread -D__cplusplus -D_UNIX -D_LINUX_STATIC -D_REENTRANT $(INCLUDES)