代码搜索:pThread
找到约 7,828 项符合「pThread」的源代码
代码结果 7,828
www.eeworm.com/read/169190/5426800
m4 apr_threads.m4
dnl -----------------------------------------------------------------
dnl apr_threads.m4: APR's autoconf macros for testing thread support
dnl
dnl
dnl APR_CHECK_PTHREADS_H([ ACTION-IF-FOUND [, ACTION
www.eeworm.com/read/169190/5428266
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/Makefi
www.eeworm.com/read/169190/5428274
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/Makefil
www.eeworm.com/read/169190/5428283
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/Makefile)
www.eeworm.com/read/113863/15446524
c sem_post.c
/* include sem_post */
#include "unpipc.h"
#include "semaphore.h"
int
mysem_post(mysem_t *sem)
{
int n;
if (sem->sem_magic != SEM_MAGIC) {
errno = EINVAL;
return(-1);
}
if ( (n = pthread_m
www.eeworm.com/read/113863/15446527
c sem_wait.c
/* include sem_wait */
#include "unpipc.h"
#include "semaphore.h"
int
mysem_wait(mysem_t *sem)
{
int n;
if (sem->sem_magic != SEM_MAGIC) {
errno = EINVAL;
return(-1);
}
if ( (n = pthread_m
www.eeworm.com/read/113031/15472005
c atm_svr_signals.c
/********************************************************
* An example source module to accompany...
*
* "Using POSIX Threads: Programming with Pthreads"
* by Brad nichols, Dick Buttlar, Jacki
www.eeworm.com/read/113031/15472016
c atm_svr.c
/********************************************************
* An example source module to accompany...
*
* "Using POSIX Threads: Programming with Pthreads"
* by Brad nichols, Dick Buttlar, Jacki
www.eeworm.com/read/100584/15871099
c sem_post.c
/* include sem_post */
#include "unpipc.h"
#include "semaphore.h"
int
mysem_post(mysem_t *sem)
{
int n;
if (sem->sem_magic != SEM_MAGIC) {
errno = EINVAL;
return(-1);
}
if ( (n = pthread_m
www.eeworm.com/read/100584/15871102
c sem_wait.c
/* include sem_wait */
#include "unpipc.h"
#include "semaphore.h"
int
mysem_wait(mysem_t *sem)
{
int n;
if (sem->sem_magic != SEM_MAGIC) {
errno = EINVAL;
return(-1);
}
if ( (n = pthread_m