代码搜索:pThread
找到约 7,828 项符合「pThread」的源代码
代码结果 7,828
www.eeworm.com/read/198916/5080781
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/198916/5080783
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/198916/5080806
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/5080807
c pthread_rwlock_wrlock.c
/* include wrlock */
#include "unpipc.h"
#include "pthread_rwlock.h"
int
pthread_rwlock_wrlock(pthread_rwlock_t *rw)
{
int result;
if (rw->rw_magic != RW_MAGIC)
return(EINVAL);
if
www.eeworm.com/read/198916/5080808
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/5080809
c pthread_rwlock_rdlock.c
/* include rdlock */
#include "unpipc.h"
#include "pthread_rwlock.h"
int
pthread_rwlock_rdlock(pthread_rwlock_t *rw)
{
int result;
if (rw->rw_magic != RW_MAGIC)
return(EINVAL);
if
www.eeworm.com/read/198916/5080810
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
www.eeworm.com/read/198916/5080812
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/198916/5080816
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/190666/5182095
h stl_pthread_alloc.h
// Wrapper of pthread allocation header -*- C++ -*-
// Copyright (C) 2001 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can