代码搜索:pthread_create
找到约 436 项符合「pthread_create」的源代码
代码结果 436
www.eeworm.com/read/449304/7509018
c term.c
/************************************************
* serial communication demo
* by Zou jian guo
* 2003-12-22
*
*************************************************/
#include
www.eeworm.com/read/442187/7657627
c attr_thread.c
#include
#include
#include
void thread1(void)
{
int i=0;
for(i=0;i
www.eeworm.com/read/299172/7881447
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/399161/7884982
c incprint.c
/* incprint.c - one thread increments, the other prints */
#include
#include
#define NUM 5
int counter = 0;
main()
{
pthread_t t1; /* one thread */
void *print_co
www.eeworm.com/read/434004/7897932
c term.c
#include /*终端控制定义*/
#include /*标准输入输出定义*/
#include /*Unix 标准函数定义*/
#include /*文件控制定义*/
#include /*信号定义*/
#include /*线程定义*/
#define BAUD
www.eeworm.com/read/247350/12663916
c pthread.c
#include
#include
#include
#include
#include
void *test2(void);
void *test3(void);
pthread_t th_1,th_2,th_3;
void *v1,*v2,*v3;
void *te
www.eeworm.com/read/332234/12772361
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/243434/12941010
man pthread_detach.man
.TH PTHREAD_DETACH 3 LinuxThreads
.SH NAME
pthread_detach \- put a running thread in the detached state
.SH SYNOPSIS
#include
int pthread_detach(pthread_t th);
.SH DESCRIPTION
!pthread
www.eeworm.com/read/243434/12941035
c ex1.c
/* Creates two threads, one printing 10000 "a"s, the other printing
10000 "b"s.
Illustrates: thread creation, thread joining. */
#include
#include
#include
#incl
www.eeworm.com/read/243228/12953985
c term.c
/************************************************
* serial communication demo
* by Zou jian guo
* 2003-12-22
*
*************************************************/
#include