代码搜索:pthread_create
找到约 436 项符合「pthread_create」的源代码
代码结果 436
www.eeworm.com/read/138087/13262251
html pthread_attr_getschedpolicy.html
pthread_attr_setschedpolicy
www.eeworm.com/read/138087/13262662
html pthread_attr_setschedpolicy.html
pthread_attr_setschedpolicy
www.eeworm.com/read/321265/13409784
c thread.c
#include
#include
void thread1(void)
{
int i=0;
for(i=0;i
www.eeworm.com/read/308682/13696243
c thread.c
#include
#include
void thread1(void)
{
int i=0;
for(i=0;i
www.eeworm.com/read/306993/13733607
h osdep.h
/*****************************************************************************
* common.h: h264 encoder
*****************************************************************************
* Copyright (C)
www.eeworm.com/read/127694/6002454
c example02.c
#include "unpthread.h"
#define NLOOP 5000
int counter; /* this is incremented by the threads */
pthread_mutex_t counter_mutex = PTHREAD_MUTEX_INITIALIZER;
void *doit(void *);
int
main(int argc
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(