代码搜索:pThread
找到约 7,828 项符合「pThread」的源代码
代码结果 7,828
www.eeworm.com/read/417321/10995228
c pthread_rwlockattr_destroy.c
/*
* pthread_rwlockattr_destroy.c
*
* Description:
* This translation unit implements read/write lock primitives.
*
* --------------------------------------------------------------------------
www.eeworm.com/read/417321/10995235
c pthread_rwlock_timedwrlock.c
/*
* pthread_rwlock_timedwrlock.c
*
* Description:
* This translation unit implements read/write lock primitives.
*
* --------------------------------------------------------------------------
www.eeworm.com/read/417321/10995237
c pthread_attr_setscope.c
/*
* pthread_attr_setscope.c
*
* Description:
* This translation unit implements operations on thread attribute objects.
*
* ---------------------------------------------------------------------
www.eeworm.com/read/417321/10995260
c pthread_mutexattr_destroy.c
/*
* pthread_mutexattr_destroy.c
*
* Description:
* This translation unit implements mutual exclusion (mutex) primitives.
*
* --------------------------------------------------------------------
www.eeworm.com/read/199919/7814565
h v2pthread.h
/*****************************************************************************
* v2pthread.h - declares the wrapper functions and data structures needed
* to implement a Wind River VxW
www.eeworm.com/read/396069/8134903
c pthread_cond_sample.c
#include
#include
pthread_mutex_t mutex_id;
pthread_cond_t cond_id;
int number;
void* thread_fun(void *nothing)
{
pthread_mutex_lock(&mutex_id);
pthread_cond_wait(&cond_id,&m
www.eeworm.com/read/396069/8134904
bak pthread_sample.c.bak
#include
#include
#include
#include
void* thread_fun(void *arg)
{
int i=0;
printf("count=%d\n",*((int*)arg));
for(i=0;i
www.eeworm.com/read/396069/8134906
c pthread_mutex_sample.c
#include
#include
#include
#include
#include
int number;
pthread_mutex_t mutex_id;
void* thread_fun(void *arg)
{
int i=0;
printf("count
www.eeworm.com/read/396069/8134916
c pthread_sem_sample.c
#include
#include
#include
#include
#include
int number;
sem_t sem_id;
void* thread_fun(void *arg)
{
int i=0;
printf("count=%d\n",*((int
www.eeworm.com/read/243434/12940965
man pthread_mutexattr_init.man
.TH PTHREAD_MUTEXATTR 3 LinuxThreads
.XREF pthread_mutexattr_destroy
.XREF pthread_mutexattr_setkind_np
.XREF pthread_mutexattr_getkind_np
.SH NAME
pthread_mutexattr_init, pthread_mutexattr_destroy,