代码搜索:pThread
找到约 7,828 项符合「pThread」的源代码
代码结果 7,828
www.eeworm.com/read/335362/12535390
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/234952/14091239
valgrind-suppressions
{
strstr-uninitialized
Memcheck:Cond
fun:strstr
fun:__pthread_initialize_minimal
obj:/lib/libpthread-2.3.5.so
obj:/lib/libpthread-2.3.5.so
fun:call_init
fun:_dl_init
obj:/li
www.eeworm.com/read/113863/15446625
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/109133/15563015
cpp comm.cpp
#include "comm.h"
TLogFile g_CommLog;
// 客户端连接线程
#ifdef _WIN32
DWORD ClientConnectThread(LPVOID lpParam)
#else
void *ClientConnectThread(void *lpParam)
#endif
{
#ifndef _WIN32
pthread
www.eeworm.com/read/100584/15871200
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/287415/8686961
c twordcount3.c
/* twordcount3.c - threaded word counter for two files.
* - Version 3: one counter per file
*/
#include
#include
#include
struct arg_set { /* two values in o
www.eeworm.com/read/185659/8993753
h stdtp.h
#ifdef _WIN32
#include
#pragma warning(disable:4800 4355 4146 4297)
#else
#include
#include
#endif
#include
#include
#include
www.eeworm.com/read/283196/9036418
c thread7.c
#include
#include
#include
#include
void *thread_function(void *arg);
char message[] = "Hello World";
int thread_finished = 0;
int main() {
int res;
www.eeworm.com/read/283196/9036426
c thread6.c
#include
#include
#include
#include
void *thread_function(void *arg);
char message[] = "Hello World";
int thread_finished = 0;
int main() {
int res;
www.eeworm.com/read/380481/9145592
c twordcount3.c
/* twordcount3.c - threaded word counter for two files.
* - Version 3: one counter per file
*/
#include
#include
#include
struct arg_set { /* two values in o