代码搜索:Threads
找到约 7,387 项符合「Threads」的源代码
代码结果 7,387
www.eeworm.com/read/366702/2867756
c pr33372-3.c
// PR c++/33372
// { dg-do compile }
// { dg-options "-fopenmp" }
template
void f ()
{
T n = 6;
#pragma omp parallel num_threads(n) // { dg-error "num_threads expression must be integr
www.eeworm.com/read/162519/5540864
h pthread_support.h
#ifndef GC_PTHREAD_SUPPORT_H
#define GC_PTHREAD_SUPPORT_H
# include "private/gc_priv.h"
# if defined(GC_PTHREADS) && !defined(GC_SOLARIS_THREADS) \
&& !defined(GC_IRIX_THREADS) && !defined(GC_W
www.eeworm.com/read/11139/198515
h poolthread.h
#ifndef _POOL_THREAD_H_
#define _POOL_THREAD_H_
#ifndef NUM_POOL_THREADS
#define NUM_POOL_THREADS 5
#endif
#ifndef POOL_THREAD_STACK_SIZE
#define POOL_THREAD_STACK_SIZE 200
#endif
#end
www.eeworm.com/read/489233/1225577
h darwin_stop_world.h
#ifndef GC_DARWIN_STOP_WORLD_H
#define GC_DARWIN_STOP_WORLD_H
#if !defined(GC_DARWIN_THREADS)
#error darwin_stop_world.h included without GC_DARWIN_THREADS defined
#endif
#include
www.eeworm.com/read/189320/5200184
cpp rt_corba_leader_follower.cpp
// RT_CORBA_Leader_Follower.cpp,v 1.9 2005/01/21 02:19:20 ossama Exp
#include "RT_CORBA_Leader_Follower.h"
#if defined (ACE_HAS_THREADS)
// We need the following only if we have threads enabled..
www.eeworm.com/read/179906/5301323
java daemons.java
//: c13:Daemons.java
// Daemon threads spawn other daemon threads.
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
import jav
www.eeworm.com/read/299474/3852244
cpp step4.cpp
/*
* Step4: test sleeping threads.
*/
#include
#include
#include
#include "PiAPI.h"
#include "TestOS.h"
#define NUM_LOOPS 10
#define NUM_THREADS 5
www.eeworm.com/read/420043/2072724
h gc_protocol.h
#ifndef _GC_PROTOCOL_H
#define _GC_PROTOCOL_H
#include "threads.h" /*ibm.5838*/
#include "threads_md.h"
#include
#include /*ibm.6197*/
#include "interpreter.h"
#