代码搜索:Pthread
找到约 7,828 项符合「Pthread」的源代码
代码结果 7,828
www.eeworm.com/read/103509/6215178
3 pthread_wakeup_np.3
.\" This -*- nroff -*- file has been generated from
.\" DocBook SGML with docbook-to-man on Debian GNU/Linux.
...\"
...\" transcript compatibility for postscript use.
...\"
...\" synopsis: .P!
www.eeworm.com/read/152711/12091197
h ucos2_pthread.h
/**
* \file pthread.h
* \author Wei Yongming
* \date 2003/02/03
*
* Description: This header contains the pthread definitions needed to
* support MiniGUI u
www.eeworm.com/read/128880/14273877
c pthread_rwlock_unlock.c
/* include unlock */
#include "unpipc.h"
#include "pthread_rwlock.h"
int
pthread_rwlock_unlock(pthread_rwlock_t *rw)
{
int result;
if (rw->rw_magic != RW_MAGIC)
return(EINVAL);
if ( (result =
www.eeworm.com/read/128880/14273879
c pthread_rwlock_wrlock.c
/* include func */
#include "unpipc.h"
#include "pthread_rwlock.h"
/* include rwlock_cancelwrwait */
static void
rwlock_cancelwrwait(void *arg)
{
pthread_rwlock_t *rw;
rw = arg;
rw->rw_nwaitwrite
www.eeworm.com/read/128880/14273886
c pthread_rwlock_trywrlock.c
/* include trywrlock */
#include "unpipc.h"
#include "pthread_rwlock.h"
int
pthread_rwlock_trywrlock(pthread_rwlock_t *rw)
{
int result;
if (rw->rw_magic != RW_MAGIC)
return(EINVAL);
if ( (re
www.eeworm.com/read/128880/14273888
c pthread_rwlock_rdlock.c
#include "unpipc.h"
#include "pthread_rwlock.h"
/* include rwlock_cancelrdwait */
static void
rwlock_cancelrdwait(void *arg)
{
pthread_rwlock_t *rw;
rw = arg;
rw->rw_nwaitreaders--;
pthread_mute
www.eeworm.com/read/128880/14273890
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/128880/14273894
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/128880/14273900
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/128880/14273944
c pthread_rwlock_unlock.c
/* include unlock */
#include "unpipc.h"
#include "pthread_rwlock.h"
int
pthread_rwlock_unlock(pthread_rwlock_t *rw)
{
int result;
if (rw->rw_magic != RW_MAGIC)
return(EINVAL);
if ( (result =