代码搜索:pThread
找到约 7,828 项符合「pThread」的源代码
代码结果 7,828
www.eeworm.com/read/426337/10259741
h osdep.h
/*****************************************************************************
* common.h: h264 encoder
*****************************************************************************
* Copyright (C)
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/299172/7881457
c 12-3.c
#include
#include
pthread_key_t key;
void echomsg(int t)
{
printf("destructor excuted in thread %d,param=%d\n",pthread_self(),t);
}
void * child1(voi
www.eeworm.com/read/332234/12772375
c 12-3.c
#include
#include
pthread_key_t key;
void echomsg(int t)
{
printf("destructor excuted in thread %d,param=%d\n",pthread_self(),t);
}
void * child1(voi
www.eeworm.com/read/240662/13208213
c 12-3.c
#include
#include
pthread_key_t key;
void echomsg(int t)
{
printf("destructor excuted in thread %d,param=%d\n",pthread_self(),t);
}
void * child1(voi
www.eeworm.com/read/321262/13410082
c 12-3.c
#include
#include
pthread_key_t key;
void echomsg(int t)
{
printf("destructor excuted in thread %d,param=%d\n",pthread_self(),t);
}
void * child1(voi
www.eeworm.com/read/306993/13733607
h osdep.h
/*****************************************************************************
* common.h: h264 encoder
*****************************************************************************
* Copyright (C)
www.eeworm.com/read/124347/6053532
c exit2.c
/*
* Test for pthread_exit().
*
* Depends on API functions:
* pthread_create()
* pthread_exit()
*/
#include "test.h"
void *
func(void * arg)
{
pthread_exit(arg);
/* Never reached. */
asser
www.eeworm.com/read/124347/6053537
c equal1.c
/*
* Test for pthread_equal.
*
* Depends on functions: pthread_create().
*/
#include "test.h"
void * func(void * arg)
{
Sleep(2000);
return 0;
}
int
main()
{
pthread_t t1, t2;
assert(
www.eeworm.com/read/124347/6053549
c self1.c
/*
* self1.c
*
* Test for pthread_self().
*
* Depends on API functions:
* pthread_self()
*
* Implicitly depends on:
* pthread_getspecific()
* pthread_setspecific()
*/
#include "test.h"
in