代码搜索:pThread
找到约 7,828 项符合「pThread」的源代码
代码结果 7,828
www.eeworm.com/read/295465/3910396
h my_pthread.h
/* Copyright (C) 2000 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Fou
www.eeworm.com/read/292476/3953064
h my_pthread.h
/* Copyright (C) 2000 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software
www.eeworm.com/read/290808/3971187
h pthread08.h
typedef struct {
pthread_t thread_tid; /* thread ID */
long thread_count; /* # connections handled */
} Thread;
Thread *tptr; /* array of Thread structures; calloc'ed */
#define MAXNCLI 32
i
www.eeworm.com/read/290808/3971194
c pthread08.c
#include "unpthread.h"
#include "pthread08.h"
void
thread_make(int i)
{
void *thread_main(void *);
Pthread_create(&tptr[i].thread_tid, NULL, &thread_main, (void *) i);
return; /* main thread ret
www.eeworm.com/read/290808/3971195
lc pthread08.lc
#include "unpthread.h"## 1 ##src/server/pthread08.c##
#include "pthread08.h"## 2 ##src/server/pthread08.c##
void## 3 ##src/server/pthread08.c##
thread_make(int i)## 4 ##src/server/pthread08
www.eeworm.com/read/290808/3971197
h pthread09.h
typedef struct {
pthread_t thread_tid; /* thread ID */
long thread_count; /* #connections handled */
} Thread;
Thread *tptr; /* array of Thread structures; calloc'ed */
int listenfd, nthr
www.eeworm.com/read/290808/3971198
lc lock_pthread.lc
/* include my_lock_init */
#include "unpthread.h"## 1 ##src/server/lock_pthread.c##
#include ## 2 ##src/server/lock_pthread.c##
static pthread_mutex_t *mptr; /* actual mutex wil
www.eeworm.com/read/290808/3971200
c pthread09.c
#include "unpthread.h"
#include "pthread09.h"
void
thread_make(int i)
{
void *thread_main(void *);
Pthread_create(&tptr[i].thread_tid, NULL, &thread_main, (void *) i);
return; /* main thread ret
www.eeworm.com/read/290808/3971211
lc pthread07.lc
#include "unpthread.h"## 1 ##src/server/pthread07.c##
#include "pthread07.h"## 2 ##src/server/pthread07.c##
void## 3 ##src/server/pthread07.c##
thread_make(int i)## 4 ##src/server/pthread07
www.eeworm.com/read/290808/3971218
h pthread07.h
typedef struct {
pthread_t thread_tid; /* thread ID */
long thread_count; /* # connections handled */
} Thread;
Thread *tptr; /* array of Thread structures; calloc'ed */
int listenfd, nth