代码搜索:pThread
找到约 7,828 项符合「pThread」的源代码
代码结果 7,828
www.eeworm.com/read/167847/9950211
c test1.c
#include "unpipc.h"
#include "pthread_rwlock.h"
#define MAXNTHREADS 100
void *reader(void *), *writer(void *);
int nloop = 1000, nreaders = 6, nwriters = 4;
struct {
pthread_rwlock_t rwlock;
www.eeworm.com/read/167847/9950295
c test1.c
#include "unpipc.h"
#include "pthread_rwlock.h"
#define MAXNTHREADS 100
void *reader(void *), *writer(void *);
int nloop = 1000, nreaders = 6, nwriters = 4;
struct {
pthread_rwlock_t rwlock;
www.eeworm.com/read/164258/10120940
c hello.c
#include
#include
#include
pthread_t thread;
//The execution thread is embodied in the hello function
void * hello()
{
struct sched_param p;
//assigning the thre
www.eeworm.com/read/347238/11680663
c hello-solution.c
#include
#include
#define NUMTHREADS 4
void *helloFunc(void *pArg)
{
int myNum = *((int *)pArg);
printf("Hello from Thread #%d\n", myNum);
}
main()
{
pthread_t
www.eeworm.com/read/155212/11889421
c hello.c
#include
#include
#include
pthread_t thread;
//The execution thread is embodied in the hello function
void * hello()
{
struct sched_param p;
//assigning the thre
www.eeworm.com/read/151671/12182523
c hello.c
#include
#include
#include
pthread_t thread;
//The execution thread is embodied in the hello function
void * hello()
{
struct sched_param p;
//assigning the thre
www.eeworm.com/read/128880/14273902
c test1.c
#include "unpipc.h"
#include "pthread_rwlock.h"
#define MAXNTHREADS 100
void *reader(void *), *writer(void *);
int nloop = 1000, nreaders = 6, nwriters = 4;
struct {
pthread_rwlock_t rwlock;
www.eeworm.com/read/128880/14273963
c test1.c
#include "unpipc.h"
#include "pthread_rwlock.h"
#define MAXNTHREADS 100
void *reader(void *), *writer(void *);
int nloop = 1000, nreaders = 6, nwriters = 4;
struct {
pthread_rwlock_t rwlock;
www.eeworm.com/read/341021/3260707
i posix_types.i
/* -*- Mode: C; c-basic-offset:4 ; -*- */
/*
*
* (C) 2001 by Argonne National Laboratory.
* See COPYRIGHT in top-level directory.
*/
#include
#include
typedef pthread
www.eeworm.com/read/298657/3860767
c reent.c
/* Define the location of _REENT for the newlib C library */
#include
#include "pthread.h"
#include "internals.h"
struct _reent * __thread_reent()
{
pthread_descr self = thread_self();