代码搜索:pthread_create
找到约 436 项符合「pthread_create」的源代码
代码结果 436
www.eeworm.com/read/227181/14438661
c testperf.c
#include
void thread1(void)
{
long i;
long x = 0;
printf("Thread 1 begin.\n");
for( i = 0 ; i < 1000000000; i ++ )
{
x++;
}
printf("Thread 1 End.\n");
www.eeworm.com/read/225748/14518000
c main.c
/************************************************
* GPRS demo, use ppp to connect internet
* use ttyS1 to ctrol GPRS
* by Zou jian guo
* 2004-11-02
*
*********************
www.eeworm.com/read/223422/14641743
c irda-test.c
/************************************************
* serial communication irDA demo
* by Zou jian guo
* 2005-01-26
* VERSION 0.10
******************************************
www.eeworm.com/read/222618/14682987
c term.c
/************************************************
* serial communication demo
* by Zou jian guo
* 2003-12-22
*
*************************************************/
#include
www.eeworm.com/read/222618/14682994
c 复件 term.c
/************************************************
* serial communication demo
* by Zou jian guo
* 2003-12-22
*
*************************************************/
#include
www.eeworm.com/read/222610/14683899
c main.c
/************************************************
* GPRS demo, use ppp to connect internet
* use ttyS1 to ctrol GPRS
* by Zou jian guo
* 2004-11-02
*
*********************
www.eeworm.com/read/120825/14786601
c test02.c
#include "unpthread.h"
void *
myfunc(void *ptr)
{
int val;
printf("thread ID of myfunc: %d\n", pthread_self());
val = *((int *) ptr);
printf("val = %d\n", val);
sleep(10);
val = *((int *) pt
www.eeworm.com/read/120825/14786606
c example01.c
#include "unpthread.h"
#define NLOOP 5000
int counter; /* this is incremented by the threads */
void *doit(void *);
int
main(int argc, char **argv)
{
pthread_t tidA, tidB;
Pthread_create(&t
www.eeworm.com/read/120825/14786611
c test01.c
#include "unpthread.h"
void *
myfunc(void *ptr)
{
pause();
}
int
main(int argc, char **argv)
{
pthread_t tid;
int n;
/* Let's see what the return value is and what errno is after a error. */
www.eeworm.com/read/118810/14853886
c test02.c
#include "unpthread.h"
void *
myfunc(void *ptr)
{
int val;
printf("thread ID of myfunc: %d\n", pthread_self());
val = *((int *) ptr);
printf("val = %d\n", val);
sleep(10);
val = *((int *) pt