代码搜索:pThread
找到约 7,828 项符合「pThread」的源代码
代码结果 7,828
www.eeworm.com/read/167847/9950286
c pthread_rwlock_init.c
/* include init */
#include "unpipc.h"
#include "pthread_rwlock.h"
int
pthread_rwlock_init(pthread_rwlock_t *rw, pthread_rwlockattr_t *attr)
{
int result;
if (attr != NULL)
return(EINVAL); /*
www.eeworm.com/read/167847/9950289
c pthread_rwlock_tryrdlock.c
/* include tryrdlock */
#include "unpipc.h"
#include "pthread_rwlock.h"
int
pthread_rwlock_tryrdlock(pthread_rwlock_t *rw)
{
int result;
if (rw->rw_magic != RW_MAGIC)
return(EINVAL);
if ( (re
www.eeworm.com/read/167847/9950294
c pthread_rwlock_destroy.c
/* include destroy */
#include "unpipc.h"
#include "pthread_rwlock.h"
int
pthread_rwlock_destroy(pthread_rwlock_t *rw)
{
if (rw->rw_magic != RW_MAGIC)
return(EINVAL);
if (rw->rw_refcount != 0 ||
www.eeworm.com/read/417321/10994328
c pthread_attr_setinheritsched.c
/*
* pthread_attr_setinheritsched.c
*
* Description:
* POSIX thread functions that deal with thread scheduling.
*
* --------------------------------------------------------------------------
*
www.eeworm.com/read/417321/10994332
c pthread_rwlock_unlock.c
/*
* pthread_rwlock_unlock.c
*
* Description:
* This translation unit implements read/write lock primitives.
*
* --------------------------------------------------------------------------
*
*
www.eeworm.com/read/417321/10994339
c pthread_rwlock_wrlock.c
/*
* pthread_rwlock_wrlock.c
*
* Description:
* This translation unit implements read/write lock primitives.
*
* --------------------------------------------------------------------------
*
*
www.eeworm.com/read/417321/10994341
c pthread_rwlockattr_setpshared.c
/*
* pthread_rwlockattr_setpshared.c
*
* Description:
* This translation unit implements read/write lock primitives.
*
* -------------------------------------------------------------------------
www.eeworm.com/read/417321/10994346
c pthread_cond_init.c
/*
* pthread_cond_init.c
*
* Description:
* This translation unit implements condition variables and their primitives.
*
*
* --------------------------------------------------------------------
www.eeworm.com/read/417321/10994351
c pthread_barrier_init.c
/*
* pthread_barrier_init.c
*
* Description:
* This translation unit implements barrier primitives.
*
* --------------------------------------------------------------------------
*
* Pthr
www.eeworm.com/read/417321/10994366
c pthread_spin_trylock.c
/*
* pthread_spin_trylock.c
*
* Description:
* This translation unit implements spin lock primitives.
*
* --------------------------------------------------------------------------
*
* Pt