代码搜索:pThread
找到约 7,828 项符合「pThread」的源代码
代码结果 7,828
www.eeworm.com/read/192525/8376556
h pthread.h
/**
* \file pthread.h
* \author Wei Yongming
* \date 2003/02/03
*
* Description: This header contains the pthread definitions needed to
* support MiniGUI u
www.eeworm.com/read/192512/8378296
h pthread.h
/**
* \file pthread.h
* \author Wei Yongming
* \date 2003/02/03
*
* Description: This header contains the pthread definitions needed to
* support MiniGUI u
www.eeworm.com/read/389084/8549067
c pthread.c
#include
#include
#define N 16
void *thread(void *arg)
{
printf("Hello, world! \n", *(int*)arg);
return NULL;
}
int main()
{
pthread_t tid[N];
int i
www.eeworm.com/read/387891/8648690
c pthread.c
/*
* Copyright (c) 2004 Roman Shaposhnik.
*
* Many thanks to Steven M. Schultz for providing clever ideas and
* to Michael Niedermayer for writing initial
* implementation.
*
www.eeworm.com/read/386771/8727947
h pthread.h
/* This is an implementation of the threads API of POSIX 1003.1-2001.
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX Threads Lib
www.eeworm.com/read/429498/8805131
c pthread.c
/************************************************
*
* The classic producer-consumer example.
* Illustrates mutexes and conditions.
* by Zou jian guo
* 2003-12-22
*
*******
www.eeworm.com/read/283587/9004529
c pthread.c
/*
* Copyright (c) 2004 Roman Shaposhnik.
*
* Many thanks to Steven M. Schultz for providing clever ideas and
* to Michael Niedermayer for writing initial
* implementation.
*
www.eeworm.com/read/377148/9293138
c pthread.c
#define _XOPEN_SOURCE 600
#include
#include
#include
#include "alias.h"
struct timespec wait = {0, 10000000};
struct timespec longwait = {0, 30000000};
struct timespec
www.eeworm.com/read/377148/9293162
ref pthread.ref
THREAD_CREATE_IN main
THREAD_SET_PD main
THREAD_INIT main
THREAD_CREATE_OUT main
THREAD_CANCEL_IN main
THREAD_STATE_CANCEL main
THREAD_CANCEL_OUT main
THREAD_JOIN_IN main
THREAD_STATE_WAIT main
THREAD