代码搜索:pThread

找到约 7,828 项符合「pThread」的源代码

代码结果 7,828
www.eeworm.com/read/216781/4888129

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);
www.eeworm.com/read/216781/4888133

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
www.eeworm.com/read/201007/5061884

svn-base pthread.c.svn-base

K 13 svn:eol-style V 6 native K 12 svn:keywords V 23 Author Date Id Revision END
www.eeworm.com/read/201007/5062052

svn-work pthread.c.svn-work

K 13 svn:eol-style V 6 native K 12 svn:keywords V 23 Author Date Id Revision END
www.eeworm.com/read/201007/5062261

svn-base pthread.c.svn-base

/* * Copyright (c) 2004 Roman Shaposhnik. * * Many thanks to Steven M. Schultz for providing clever ideas and * to Michael Niedermayer for writing initial * implementation. *
www.eeworm.com/read/198916/5080774

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
www.eeworm.com/read/198916/5080775

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
www.eeworm.com/read/198916/5080777

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);
www.eeworm.com/read/198916/5080778

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--; p
www.eeworm.com/read/198916/5080779

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(EIN