代码搜索:pThread
找到约 7,828 项符合「pThread」的源代码
代码结果 7,828
www.eeworm.com/read/412035/11216985
h msglist.h
#ifndef MSG_H
#define MSG_H
#define LEN_MSG 1000
#define LEN_DGRAM 1500
#define LEN_NAME 64
#include
#include "ipmsg.h"
#include
//#include "comm.h"
#include
www.eeworm.com/read/411683/11232361
c my_scaner.c
// 端口扫描程序,只支持扫描TCP端口
#include
#include
#include
#include
#include
#include
#include
#include
#inc
www.eeworm.com/read/411305/11248911
c client.c
#include
#include
#include
#include
#include
#include
#include
#define SERVER_PORT 8080 /*端口*/
#define MAX_SIZE 5/*滑动窗口的大
www.eeworm.com/read/147608/12542571
c thread4a.c
#include
#include
#include
#include
#include
void *thread_function(void *arg);
sem_t bin_sem;
#define WORK_SIZE 1024
char work_area[WORK_SIZ
www.eeworm.com/read/147608/12542579
c thread4.c
#include
#include
#include
#include
#include
void *thread_function(void *arg);
sem_t bin_sem;
#define WORK_SIZE 1024
char work_area[WORK_SIZ
www.eeworm.com/read/133667/14030807
c thread4a.c
#include
#include
#include
#include
#include
void *thread_function(void *arg);
sem_t bin_sem;
#define WORK_SIZE 1024
char work_area[WORK_SIZ
www.eeworm.com/read/133667/14030810
c thread4.c
#include
#include
#include
#include
#include
void *thread_function(void *arg);
sem_t bin_sem;
#define WORK_SIZE 1024
char work_area[WORK_SIZ
www.eeworm.com/read/183272/9172339
mk freebsd.mk
include ../Make.defines.freebsd
EXTRA=
EXTRALIBS=-pthread
PROGS = threadid exitstatus cleanup badexit2
all: condvar.o mutex1.o mutex2.o mutex3.o rwlock.o ${PROGS}
condvar.o: condvar.c
mutex1.o: mu
www.eeworm.com/read/183272/9172342
mk linux.mk
include ../Make.defines.linux
EXTRA=
EXTRALIBS=-pthread
PROGS = threadid exitstatus cleanup badexit2
all: condvar.o mutex1.o mutex2.o mutex3.o rwlock.o ${PROGS}
condvar.o: condvar.c
mutex1.o: mute
www.eeworm.com/read/181699/9240565
c berkeley.c
#include "db.h"
#include
#include
#include
/* DB的函数执行完成后,返回0代表成功,否则失败 */
void print_error(int ret)
{
if(ret != 0)
printf("ERROR: %s\n",db_strerror(ret));