代码搜索:pthread_create
找到约 436 项符合「pthread_create」的源代码
代码结果 436
www.eeworm.com/read/278507/10530245
c example02.c
#include "unpthread.h"
#define NLOOP 5000
int counter; /* incremented by threads */
pthread_mutex_t counter_mutex = PTHREAD_MUTEX_INITIALIZER;
void *doit(void *);
int
main(int argc, char **arg
www.eeworm.com/read/417321/10994498
c rwlock6_t.c
/*
* rwlock6_t.c
*
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX Threads Library for Win32
* Copyright(C) 1998 John E. Boss
www.eeworm.com/read/416027/11044045
c thread.c
#include
#include
void thread1(void)
{
int i=0;
for(i=0;i
www.eeworm.com/read/217322/6964915
c thread.c
#include
#include
void thread1(void)
{
int i=0;
for(i=0;i
www.eeworm.com/read/100768/7114681
c socketchat.c
/*
Version: 0.2.0(stable)
Author: Computer_xu
Email: Computer_xu@sina.com
HomePage: http://www.socketchat.com
LastModify: 2001-05-07 (yyyy-mm-dd)
*/
#include "socketchat.h"
int sockfd;
www.eeworm.com/read/464500/7157005
c thread.c
#include
#include
void thread1(void)
{
int i=0;
for(i=0;i
www.eeworm.com/read/442187/7657631
c thread.c
#include
#include
void thread1(void)
{
int i=0;
for(i=0;i
www.eeworm.com/read/396069/8134904
bak pthread_sample.c.bak
#include
#include
#include
#include
void* thread_fun(void *arg)
{
int i=0;
printf("count=%d\n",*((int*)arg));
for(i=0;i
www.eeworm.com/read/396069/8134912
c pthread_sample.c
#include
#include
#include
#include
int number;
void* thread_fun(void *arg)
{
int i=0;
printf("count=%d\n",*((int*)arg));
for(i=0;i
www.eeworm.com/read/329241/12967548
c thread.c
#include
#include
void thread1(void)
{
int i=0;
for(i=0;i