代码搜索:pThread
找到约 7,828 项符合「pThread」的源代码
代码结果 7,828
www.eeworm.com/read/253410/12225282
c timeout.c
#include "apue.h"
#include
#include
#include
extern int makethread(void *(*)(void *), void *);
struct to_info {
void (*to_fn)(void *); /* function */
void *to_arg
www.eeworm.com/read/253405/12226122
c reread.c
#include "apue.h"
#include
#include
sigset_t mask;
extern int already_running(void);
void
reread(void)
{
/* ... */
}
void *
thr_fn(void *arg)
{
int err, signo;
for (;;)
www.eeworm.com/read/128880/14274305
c serverintr1.c
/* include servproc */
#include "unpipc.h"
void
servproc(void *cookie, char *dataptr, size_t datasize,
door_desc_t *descptr, size_t ndesc)
{
long arg, result;
pthread_exit(NULL); /* and see w
www.eeworm.com/read/222279/14698422
xmo testtag.xmo
XMD (Version 2.5.29 Nov 27 2000)
Not using pthread library.
Not using asm("finit"); patch in thread routines.
#
# Test new WRITE COR TAG command
#
box 4 4 4
fill particle 2
fill go
*** Number new
www.eeworm.com/read/491019/1193741
am makefile.am
include $(top_srcdir)/Makefile.incl
lib_LIBRARIES=libjpeg.a
libjpeg_a_CFLAGS = $(CFLAGS) $(DEFS) -DCLIENT $(BOINC_CFLAGS) $(PTHREAD_CFLAGS)
libjpeg_a_SOURCES=jcapimin.c \
jcapistd.c \
jccoe
www.eeworm.com/read/479931/1327467
c sig6.c
/* Check that TRT happens at an non-abort non-caught signal, more than one thread.
#notarget: cris*-*-elf
#cc: additional_flags=-pthread
#xerror:
#output: Exiting pid 42 due to signal 7\n
#output: pro
www.eeworm.com/read/479931/1327948
c print-threads.c
#include
#include
#include
#include
void *thread_function(void *arg); /* Pointer to function executed by each thread */
int slow = 0;
#define NUM 5
int
www.eeworm.com/read/472269/1412940
cpp thread.cpp
// Thread.cpp: wrapper around Afx and pthread
//
#include "Common.h"
#include "Thread.h"
#include "Exceptions.h"
#if defined(WIN32)
Thread::Thread(void* (*fun)(void*), void* arg)
{
m_fun = fun;
www.eeworm.com/read/233448/4692504
c pass37-frag.c
#include
#include
#include
#include
static void *
func (void *p)
{
int *counter = (int *) p;
unsigned i;
for (i=0; i
www.eeworm.com/read/224875/4802120
entries
/pthread.h/1.1/Mon Feb 03 14:24:48 2003//
/sched.h/1.1/Mon Feb 03 14:24:48 2003//
/semaphore.h/1.1/Mon Feb 03 14:24:48 2003//
D