代码搜索:pThread
找到约 7,828 项符合「pThread」的源代码
代码结果 7,828
www.eeworm.com/read/216781/4888122
makefile
include ../Make.defines
PROGS = test1 testcancel incr_rwlock1
FUNCS = pthread_rwlock_destroy.o pthread_rwlock_init.o \
pthread_rwlock_rdlock.o pthread_rwlock_tryrdlock.o \
pthread_rwlock_try
www.eeworm.com/read/198916/5080773
makefile
include ../Make.defines
PROGS = test1 testcancel incr_rwlock1
FUNCS = pthread_rwlock_destroy.o pthread_rwlock_init.o \
pthread_rwlock_rdlock.o pthread_rwlock_tryrdlock.o \
pthread_rwlock_try
www.eeworm.com/read/198916/5080805
makefile
include ../Make.defines
PROGS = test1 testcancel incr_rwlock1
FUNCS = pthread_rwlock_destroy.o pthread_rwlock_init.o \
pthread_rwlock_rdlock.o pthread_rwlock_tryrdlock.o \
pthread_rwlock_try
www.eeworm.com/read/180227/5287710
c condvar.c
#include
#include
#include
static pthread_t thread;
static pthread_mutex_t mutex /* = PTHREAD_MUTEX_INITIALIZER */;
static pthread_cond_t cond;
static int timed=1;
MODULE
www.eeworm.com/read/290808/3971188
c serv08.c
/* include serv08 */
#include "unpthread.h"
#include "pthread08.h"
static int nthreads;
pthread_mutex_t clifd_mutex = PTHREAD_MUTEX_INITIALIZER;
pthread_cond_t clifd_cond = PTHREAD_COND_INITIALIZ
www.eeworm.com/read/182103/5272136
scn psx10.scn
*** POSIX TEST 10 ***
Init: pthread_condattr_init
Init: pthread_condattr_init - EINVAL (attribute invalid)
Init: pthread_condattr_destroy
Init: pthread_condattr_destroy - EINVAL (attribute invalid)
In
www.eeworm.com/read/292010/8383014
cpp osthread.cpp
/*
File: OSThread.cpp
Contains: Thread abstraction implementation
*/
#include "OSThread.h"
#include
#include
#include
#include
www.eeworm.com/read/189056/8493768
c debug.c
/* The file contins routines for managing debugging
Copyright (C) 2000 Kalum Somaratna
This program is free software; you can redistribute it and/or modify
it under the terms of the GN
www.eeworm.com/read/289593/8540709
h main.h
#ifndef MAIN_H
#define MAIN_H
#include
#include "Data.h"
char *fullurl;
int nthreads;
int fsuggested = 0;
struct request *req; /* Download jobs */
pthread_t hthread; /* Helper threa
www.eeworm.com/read/285344/8849518
c p12.2.c
#include
#include
struct thread_param
{
char info;
int num;
};
void* thread_fun(void* param)
{
struct thread_param* p;
p=(struct thread_param*)param;
int i;
for(i=0;i