代码搜索:pthread_create
找到约 436 项符合「pthread_create」的源代码
代码结果 436
www.eeworm.com/read/387530/8667986
c thread.c
/*
****************************************Copyright (c)**************************************************
** Guangzhou Zhiyuan Electronic Co.,LTD.
**
www.eeworm.com/read/427322/8951692
c sem.c
/* File sem.c */
#include
#include
#include
#define MAXSTACK 100
int stack[MAXSTACK][2];
int size=0;
sem_t sem;
/* 从文件1.dat读取数据,每读一次,信号量加一*/
void ReadData1
www.eeworm.com/read/283381/9025787
makefile
## liaoxx-2007-7-26
## compile source files named by user:
## make SRC=pthread_create.c
CC = gcc
SRCS =
OBJS := $(SRCS:.c=.o)
EXE = executive
$(EXE): $(OBJS)
$(CC) -o $@ $(OBJS) -l
www.eeworm.com/read/283381/9025794
makefile_backup
CC = gcc
SRCS = pthread_create.c
OBJS := $(SRCS:.c=.o)
EXE = pthread
$(EXE): $(OBJS)
$(CC) -o $@ $(OBJS) -lpthread
chmod 777 $(EXE)
$%.o: %.c
$(CC) -o $@ -c $<
clean:
rm
www.eeworm.com/read/177093/9469884
c thread.c
/*
****************************************Copyright (c)**************************************************
** Guangzhou Zhiyuan Electronic Co.,LTD.
**
www.eeworm.com/read/165847/10049511
c testthread.c
#include
#include
#include
#include
#include
#include
#include
#include
#include
void *thread1_fu
www.eeworm.com/read/418361/10951026
c testthread.c
#include
#include
#include
#include
#include
#include
#include
#include
#include
void *thread1_fu
www.eeworm.com/read/272649/10951030
txt 多线程函数2.txt
线程编程的基本的函数
1线程创建
函数原型:
#include
int pthread_create(pthread_t *restrict tidp,const pthread_attr_t *restrict attr, void *(*start_rtn)(void),void *restrict arg