代码搜索:Threads

找到约 7,387 项符合「Threads」的源代码

代码结果 7,387
www.eeworm.com/read/387242/8698333

c pi04.c

#include static long num_steps = 100000; double step; #define NUM_THREADS 8 void main () { int i; double x, pi, sum = 0.0; step = 1.0/(double) num_steps; omp_set_num_threa
www.eeworm.com/read/177968/9425641

c once.c

/******************************************************** * An example source module to accompany... * * "Using POSIX Threads: Programming with Pthreads" * by Brad nichols, Dick Buttlar, Jacki
www.eeworm.com/read/347553/7125676

c once.c

/******************************************************** * An example source module to accompany... * * "Using POSIX Threads: Programming with Pthreads" * by Brad nichols, Dick Buttlar, J
www.eeworm.com/read/242863/12976764

h spinlock.h

#ifndef __THREADS_SPINLOCK_H #define __THREADS_SPINLOCK_H namespace cpp_threads { /** * A spinlock, is a primitive semaphore. With it we acquire * a unique lock, and release that lock. *
www.eeworm.com/read/149876/5696128

exp step.exp

# step.exp -- Expect script to test gdb with step.c # Copyright (C) 1992, 1997 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the ter
www.eeworm.com/read/148694/5711570

exp step.exp

# step.exp -- Expect script to test gdb with step.c # Copyright (C) 1992, 1997 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the ter
www.eeworm.com/read/147331/5731619

c td_ta_map_lwp2thr.c

/* Which thread is running on an lwp? Copyright (C) 1999 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1999. T
www.eeworm.com/read/136989/5828213

cpp thybrid_concurrency.cpp

// THYBRID_Concurrency.cpp,v 1.2 2004/01/04 21:17:14 bala Exp #include "ace/OS.h" #include "ace/Message_Block.h" #ifndef JAWS_BUILD_DLL #define JAWS_BUILD_DLL #endif #include "jaws3/Concur
www.eeworm.com/read/136571/5868860

c sdl_thread.c

/* SDL - Simple DirectMedia Layer Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002 Sam Lantinga This library is free software; you can redistribute it and/or modify it under the