代码搜索:pthread_create
找到约 436 项符合「pthread_create」的源代码
代码结果 436
www.eeworm.com/read/373508/9453289
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/175598/9540369
c rwlock6.c
/*
* rwlock6.c
*
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX Threads Library for Win32
* Copyright(C) 1998 John E. Bossom
www.eeworm.com/read/174734/9575062
c attr_thread.c
#include
#include
#include
void thread1(void)
{
int i=0;
for(i=0;i
www.eeworm.com/read/170114/9818970
c 12-1.c
#include
#include /*多线程编程中必须包含这个头文件*/
void handle(void)
{
int i;
for( i=0; i < 10; i++)
{
printf("my name is sub_thread.\n");
}
}
int main(void){
pthread_
www.eeworm.com/read/366206/9824628
c pthread.c
// 951417 孫健銘 HW2
#include/*create thread*/
#include
#include//取得Pid
#include//建立行程
#include
#include
void *func(void *temp)
{
char *
www.eeworm.com/read/425728/10333190
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/278507/10530163
lc example01.lc
#include "unpthread.h"## 1 ##src/threads/example01.c##
#define NLOOP 5000## 2 ##src/threads/example01.c##
int counter; /* this is incremented by the threads */## 3 ##src/thr
www.eeworm.com/read/278507/10530186
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/278507/10530204
c example01.c
#include "unpthread.h"
#define NLOOP 5000
int counter; /* incremented by threads */
void *doit(void *);
int
main(int argc, char **argv)
{
pthread_t tidA, tidB;
Pthread_create(&tidA, NULL, &
www.eeworm.com/read/278507/10530221
lc example02.lc
#include "unpthread.h"## 1 ##src/threads/example02.c##
#define NLOOP 5000## 2 ##src/threads/example02.c##
int counter; /* this is incremented by the threads */## 3 ##src/thr