代码搜索:pThread
找到约 7,828 项符合「pThread」的源代码
代码结果 7,828
www.eeworm.com/read/479931/1327442
c sigreturn2.c
/* Check that TRT happens for spurious sigreturn calls. Multiple threads.
#notarget: cris*-*-elf
#cc: additional_flags=-pthread
#xerror:
#output: Invalid sigreturn syscall: no signal handler active (
www.eeworm.com/read/479931/1327969
c tls-nodebug.c
/* Test accessing TLS based variable without any debug info compiled. */
#include
__thread int thread_local = 42;
int main(void)
{
return 0;
}
www.eeworm.com/read/472280/1412619
c thread-impl.c
/*
* thread-impl.c - pthread based ThreadInterface implementation
*
* Copyright (c) 1998
* Transvirtual Technologies, Inc. All rights reserved.
*
* Copyright (c) 2005, 2006
* Kaffe.o
www.eeworm.com/read/472280/1412621
h thread-internal.h
/*
* thread-impl.h - pthread based ThreadInterface implementation
*
* Copyright (c) 1998
* Transvirtual Technologies, Inc. All rights reserved.
*
* Copyright (c) 2005
* Kaffe.org con
www.eeworm.com/read/462744/1543056
h ucos2_semaphore.h
/**
* \file semaphore.h
* \author Wei Yongming
* \date 2004/02/03
*
* semaphore.h: This header contains the pthread semaphore definitions
* needed to support M
www.eeworm.com/read/462744/1543067
h semaphore.h
/**
* \file semaphore.h
* \author Wei Yongming
* \date 2004/02/03
*
* semaphore.h: This header contains the pthread semaphore definitions
* needed to support M
www.eeworm.com/read/241064/4563765
h jhash.h
/*
* Jenkins hash support, lifted from the Linux kernel from
* linux/include/linux/jhash.h. We use it to index Xenomai shadow
* TCBs on pthread descriptor addresses.
*
* Original credits:
*
*
www.eeworm.com/read/233448/4692507
c pass40-frag.c
#include
#include
#include
static void *
func (void *p)
{
return (NULL);
}
static void
test (void)
{
int rc;
pth
www.eeworm.com/read/216781/4888031
c incr_pxmutex5.c
/* include main */
#include "unpipc.h"
#define MAXNPROC 100
int nloop;
struct shared {
pthread_mutex_t mutex;
long counter;
} *shared; /* pointer; actual structure in shared memory
www.eeworm.com/read/216781/4888114
c prodcons5.c
#include "unpipc.h"
#define MAXNITEMS 1000000
#define MAXNTHREADS 100
int nitems; /* read-only by producer and consumer */
struct {
pthread_mutex_t mutex;
int buff[MAXNITEMS];