代码搜索:pThread
找到约 7,828 项符合「pThread」的源代码
代码结果 7,828
www.eeworm.com/read/122139/14718807
h site.h
// Larbin
// Sebastien Ailleret
// 08-02-00 -> 08-02-00
// This is the new structure of a site
// It includes a fifo of waiting urls
#ifndef SITE_H
#define SITE_H
#include
#include
www.eeworm.com/read/119112/14838975
c torture.c
/* IBE torture test program
* Ben Lynn
*/
/*
Copyright (C) 2001 Benjamin Lynn (blynn@cs.stanford.edu)
See LICENSE for license
*/
#include
#include
#include
#inclu
www.eeworm.com/read/482538/1287850
hh queuethreadtest.hh
// -*- c-basic-offset: 4 -*-
#ifndef CLICK_QUEUETHREADTEST_HH
#define CLICK_QUEUETHREADTEST_HH
#include
#include "elements/standard/simplequeue.hh"
#include
#include
www.eeworm.com/read/479931/1327376
c thread5.c
/* Compiler options:
#notarget: cris*-*-elf
#cc: additional_flags=-pthread
#output: abbb ok\n
Testing a signal handler corner case. */
#include
#include
#include
www.eeworm.com/read/479931/1327382
c sig12.c
/* Check that TRT happens for a signal sent to a non-existent process/thread, more than one thread.
#cc: additional_flags=-pthread
#notarget: cris*-*-elf
*/
#include
#include
#i
www.eeworm.com/read/246537/4493582
c test02.c
#include "unpthread.h"
void *
myfunc(void *ptr)
{
int val;
printf("thread ID of myfunc: %d\n", pthread_self());
val = *((int *) ptr);
printf("val = %d\n", val);
sleep(10);
val = *((int *) pt
www.eeworm.com/read/246537/4493589
c test01.c
#include "unpthread.h"
void *
myfunc(void *ptr)
{
pause();
}
int
main(int argc, char **argv)
{
pthread_t tid;
int n;
/* Let's see what the return value is and what errno is after a error. */
www.eeworm.com/read/240943/4564674
c offsets.c
#define PTHREAD_KERNEL
#include "internals.h"
#include "setjmp.h"
#define DEFINE(sym, val) \
asm volatile("\n->" #sym " %0 " #val : : "i" (val))
#define BLANK() asm volatile("\n->" : : )
main()
{
www.eeworm.com/read/216781/4888279
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); /*
www.eeworm.com/read/204643/5032082
m4 config5.m4
dnl ## XXX - Need a more thorough check of the proper flags to use
if test "$MPM_NAME" = "worker" ; then
AC_CHECK_FUNCS(pthread_kill)
APACHE_FAST_OUTPUT(server/mpm/$MPM_NAME/Makefile)
fi