代码搜索:pThread
找到约 7,828 项符合「pThread」的源代码
代码结果 7,828
www.eeworm.com/read/305065/3780920
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/290808/3970821
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/290808/3970831
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/283906/4074783
m4 config5.m4
dnl ## XXX - Need a more thorough check of the proper flags to use
if test "$MPM_NAME" = "threadpool" ; then
AC_CHECK_FUNCS(pthread_kill)
APACHE_FAST_OUTPUT(server/mpm/$MPM_SUBDIR_NAME/Ma
www.eeworm.com/read/283906/4074788
m4 config5.m4
dnl ## XXX - Need a more thorough check of the proper flags to use
if test "$MPM_NAME" = "perchild" ; then
AC_CHECK_FUNCS(pthread_kill)
APACHE_FAST_OUTPUT(server/mpm/$MPM_SUBDIR_NAME/Mak
www.eeworm.com/read/283906/4074794
m4 config5.m4
dnl ## XXX - Need a more thorough check of the proper flags to use
if test "$MPM_NAME" = "leader" ; then
AC_CHECK_FUNCS(pthread_kill)
APACHE_FAST_OUTPUT(server/mpm/$MPM_SUBDIR_NAME/Makefi
www.eeworm.com/read/283906/4074814
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
www.eeworm.com/read/430898/1915896
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
www.eeworm.com/read/428420/1960118
cc threads.cc
// Larbin
// Sebastien Ailleret
// 15-11-99 -> 07-12-00
#include "xutils/threads.h"
#include
/* Launch a new thread
* return 0 in case of success
*/
int startThread (StartFun run, voi
www.eeworm.com/read/428420/1960144
h consta~1.h
// Larbin
// Sebastien Ailleret
// 15-04-00 -> 15-04-00
/* this fifo will not grow
*/
#ifndef CONSTANTFIFO_H
#define CONSTANTFIFO_H
#include
#include
#include "xutils/Gener