代码搜索:pThread
找到约 7,828 项符合「pThread」的源代码
代码结果 7,828
www.eeworm.com/read/246537/4493960
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, nthr
www.eeworm.com/read/246537/4493963
c pthread07.c
#include "unpthread.h"
#include "pthread07.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/246537/4493967
c lock_pthread.c
/* include my_lock_init */
#include "unpthread.h"
#include
static pthread_mutex_t *mptr; /* actual mutex will be in shared memory */
void
my_lock_init(char *pathname)
{
int fd;
pthre
www.eeworm.com/read/245129/4507019
h my_pthread.h
/* Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Publ
www.eeworm.com/read/240943/4564647
h fsu_pthread.h
/* Copyright (C) 1992-2000 the Florida State University
Distributed by the Florida State University under the terms of the
GNU Library General Public License.
This file is part of Pthreads.
Pt
www.eeworm.com/read/238768/4608751
sh pthread2.sh
#!/bin/sh
#
# build using pthreads where it's already built into the system
#
/bin/rm -f mttest
gcc -DPTHREADS -I../../include -g mttest.c -o mttest -L../.. -lssl -lcrypto -lpthread
www.eeworm.com/read/237551/4623120
c pthread_once.c
/* Copyright (C) 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Martin Schwidefsky , 2003.
The GNU C Library is free softw
www.eeworm.com/read/237551/4623148
s pthread_once.s
/* Copyright (C) 2003, 2004 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the term
www.eeworm.com/read/237551/4623167
c pthread_yield.c
/* Copyright (C) 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper , 2002.
The GNU C Library is free software; you
www.eeworm.com/read/237551/4623180
c pthread_once.c
/* Copyright (C) 2003, 2004 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Jakub Jelinek , 2003.
The GNU C Library is free software;