代码搜索:pthread_create
找到约 436 项符合「pthread_create」的源代码
代码结果 436
www.eeworm.com/read/223685/14619415
c hello_arg3.c
/*****************************************************************************
* FILE: hello_arg3.c
* DESCRIPTION:
* This "hello world" Pthreads program demonstrates an unsafe (incorrect)
* way t
www.eeworm.com/read/222908/14668176
h form1.ui.h
/****************************************************************************
** ui.h extension file, included from the uic-generated form implementation.
**
** If you wish to add, delete or rename fu
www.eeworm.com/read/222908/14668181
h~ form1.ui.h~
/****************************************************************************
** ui.h extension file, included from the uic-generated form implementation.
**
** If you wish to add, delete or rename fu
www.eeworm.com/read/122239/14712136
c test_pthread.c
/*
** GNU Pth - The GNU Portable Threads
** Copyright (c) 1999-2004 Ralf S. Engelschall
**
** This file is part of GNU Pth, a non-preemptive thread scheduling
** library whic
www.eeworm.com/read/120825/14786614
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/220521/14798089
c rpg.c
#include
#include
#include
#include
#include
#include
#include
pthread_mutex_t lock=PTHREAD_MUTEX_INITIALIZER
www.eeworm.com/read/118810/14853896
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/113945/15120216
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/158872/5591929
c killed.c
#include
#include
#include
#include
int pid;
void *
child_func (void *dummy)
{
kill (pid, SIGKILL);
exit (1);
}
int
main ()
{
pthread_t child;
www.eeworm.com/read/293357/8298320
c procmodel.c
#include
#include
#include
#include
void* thr_fn1(void*);
void* thr_fn2(void*);
int main()
{
pthread_t tid;
if (pthread_create(&tid, NULL