代码搜索:pThread
找到约 7,828 项符合「pThread」的源代码
代码结果 7,828
www.eeworm.com/read/216781/4887965
c wrappthread.c
/*
* pthreads wrapper functions.
*/
#include "unpipc.h"
void
Pthread_attr_init(pthread_attr_t *attr)
{
int n;
if ( (n = pthread_attr_init(attr)) == 0)
return;
errno = n;
err_
www.eeworm.com/read/198916/5080648
c wrappthread.c
/*
* pthreads wrapper functions.
*/
#include "unpipc.h"
void
Pthread_attr_init(pthread_attr_t *attr)
{
int n;
if ( (n = pthread_attr_init(attr)) == 0)
return;
errno = n;
err_
www.eeworm.com/read/198784/5082372
h control.h
#include
#include "../sync.h"
typedef struct data_control {
//pthread_mutex_t mutex;
//pthread_cond_t cond;
CCondition cond;
//CThreadMutex mutex;
int active;
} data_control;
www.eeworm.com/read/424444/10447268
c functions.c
#include "Functions.h"
pthread_t root_thread;
pthread_t acph_thread;
pthread_t syst_thread;
pthread_t diag_thread;//not used yet
BOOL bhard_enable_irq;
T_IPC_HANDLES ipc_handles;
SCS_TASK_t
www.eeworm.com/read/243434/12940909
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/243434/12940923
c getnetby_r.c
#include "../pthread.h"
#include
#include
static pthread_mutex_t getnetby_mutex = PTHREAD_MUTEX_INITIALIZER;
static int
convert (struct netent *ret, struct netent *result,
www.eeworm.com/read/243434/12940941
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/246537/4493506
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/233955/4663205
makefile
CPPFLAGS = -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT $(INCLUDES)
LDFLAGS = -pthread
LDSOFLAGS = -shared -Wl,-soname
#CPPFLAGS = -static -pthread -D__cplusplus -D_UNIX -D_LINUX_
www.eeworm.com/read/225675/4793659
makefile
CPPFLAGS = -DENABLE_BINRELOC -pthread -D__cplusplus -D_UNIX -D_REENTRANT $(INCLUDES)
LDFLAGS = -pthread
LDSOFLAGS = -shared -Wl,-soname
#CPPFLAGS = -static -pthread -D__cplusplus -D_UNIX -D_LINUX_