代码搜索:pthread_create
找到约 436 项符合「pthread_create」的源代码
代码结果 436
www.eeworm.com/read/118810/14853890
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/118810/14853895
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/219134/14893418
c term.c
/************************************************
* serial communication demo
* by Zou jian guo
* 2003-12-22
*
*************************************************/
#include
www.eeworm.com/read/113945/15120189
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/113945/15120199
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/113945/15120213
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/213260/15139011
c term.c
/************************************************
* serial communication demo
* by Zou jian guo
* 2003-12-22
*
*************************************************/
#include
www.eeworm.com/read/206123/15299642
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/471497/6894815
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/295484/8159589
c term.c
/************************************************
* serial communication demo
* by Zou jian guo
* 2003-12-22
*
*************************************************/
#include