代码搜索:pThread
找到约 7,828 项符合「pThread」的源代码
代码结果 7,828
www.eeworm.com/read/290808/3970765
h unpthread.h
/* Our own header for the programs that use threads.
Include this file, instead of "unp.h". */
#ifndef __unp_pthread_h
#define __unp_pthread_h
#include "unp.h"
void Pthread_create(pthread_t *, c
www.eeworm.com/read/290808/3970823
h unpthread.h
/* Our own header for the programs that use threads.
Include this file, instead of "unp.h". */
#ifndef __unp_pthread_h
#define __unp_pthread_h
#include "unp.h"
void Pthread_create(pthread_t *, c
www.eeworm.com/read/290808/3971207
h unpthread.h
/* Our own header for the programs that use threads.
Include this file, instead of "unp.h". */
#ifndef __unp_pthread_h
#define __unp_pthread_h
#include "unp.h"
void Pthread_create(pthread_t *, c
www.eeworm.com/read/169944/9830354
cpp msgobject.cpp
#include "GOS.h"
#include "msgobject.h"
LRESULT CMsgObject::SendMessage(UINT message, WPARAM wParam, LPARAM lParam)
{
PTHREAD pThread=GetMQThread();
PTHREAD pCur=GetCurrentThread();
if(pT
www.eeworm.com/read/357026/10217034
h los.h
#ifndef OSCLASS
#define OSCLASS
#include
#include
using namespace std;
typedef pthread_mutex_t MUTEX_TYPEDEF;
typedef pthread_t THREAD_HANDLE;
typedef pthread_cond_t EVENT_HA
www.eeworm.com/read/200278/5070980
c detach.c
#include "apue.h"
#include
int
makethread(void *(*fn)(void *), void *arg)
{
int err;
pthread_t tid;
pthread_attr_t attr;
err = pthread_attr_init(&attr);
if (err != 0)
return(e
www.eeworm.com/read/180227/5287711
c mutex.c
#include
#include
#include
#define NTASKS 3
static pthread_t threads[NTASKS];
static pthread_mutex_t mutex /* = PTHREAD_MUTEX_INITIALIZER */;
static void * start_routin
www.eeworm.com/read/216781/4888178
c test2.c
#include "unpipc.h"
int
main(int argc, char **argv)
{
printf("sizeof(pthread_mutex_t) = %d\n", sizeof(pthread_mutex_t));
printf("sizeof(pthread_cond_t) = %d\n", sizeof(pthread_cond_t));
pri
www.eeworm.com/read/198916/5080861
c test2.c
#include "unpipc.h"
int
main(int argc, char **argv)
{
printf("sizeof(pthread_mutex_t) = %d\n", sizeof(pthread_mutex_t));
printf("sizeof(pthread_cond_t) = %d\n", sizeof(pthread_cond_t));
pri
www.eeworm.com/read/470917/1438905
sym unwindbuf.sym
#include
#include
--
UNWINDBUFSIZE sizeof (__pthread_unwind_buf_t)
UWJMPBUF offsetof (__pthread_unwind_buf_t, __cancel_jmp_buf)