代码搜索:pThread
找到约 7,828 项符合「pThread」的源代码
代码结果 7,828
www.eeworm.com/read/337445/3340134
changelog
1999-10-30 Ross Johnson
* create.c (pthread_create): Explicitly initialise thread state to
default values.
* cancel.c (pthread_setcancelstate): Check for N
www.eeworm.com/read/431664/1904720
changelog
1999-10-30 Ross Johnson
* create.c (pthread_create): Explicitly initialise thread state to
default values.
* cancel.c (pthread_setcancelstate): Check for N
www.eeworm.com/read/395229/2445673
c libtest2.c
#include
#include
extern int __pthread_mutex_init (void);
void __attribute__((constructor)) libtest2_ctor(void)
{
printf("libtest2: constructor!\n");
}
void __attribute__
www.eeworm.com/read/375190/2726797
hpp thread_data.hpp
#ifndef BOOST_THREAD_PTHREAD_THREAD_DATA_HPP
#define BOOST_THREAD_PTHREAD_THREAD_DATA_HPP
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or cop
www.eeworm.com/read/375190/2726816
hpp thread_data.hpp
#ifndef BOOST_THREAD_PTHREAD_THREAD_DATA_HPP
#define BOOST_THREAD_PTHREAD_THREAD_DATA_HPP
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or cop
www.eeworm.com/read/188503/8535448
m4 acinclude.m4
dnl *************************************************************************
dnl *************************************************************************
dnl ACX_PTHREAD
dnl v1.10 (last modified:
www.eeworm.com/read/167823/9951418
cpp ra.cpp
#include "CSysobj.h"
#include "CUdpsocket.h"
#include
#include
CSysobj ptrsys;
CUdpsocket ptrudp;
MYSQL mysql;
pthread_mutex_t mutex;
int mysqlerror;
void* thread(void* j)
www.eeworm.com/read/146114/12670447
h thread.h
#ifndef THREAD_H
#define THREAD_H
#if defined(__UNIX__)
# define PTHREADS
#elif defined(__WIN32__)
# define WINTHREADS
#endif
#if defined(PTHREADS)
# include
typedef pthread_t thr_t;
www.eeworm.com/read/242863/12976621
c dining.c
#include
#include "philosopher.h"
#include "dining.h"
using namespace cpp_threads;
dining::dining(int p_no)
{
p_fork = new Mutex[p_no];
p = (Pthread **)malloc(sizeof(Pthread*)*
www.eeworm.com/read/470917/1439107
sym lowlevelbarrier.sym
#include
#include
#include
#include "internaltypes.h"
--
CURR_EVENT offsetof (struct pthread_barrier, curr_event)
MUTEX offsetof (struct pthread_barrier