代码搜索:Threads
找到约 7,387 项符合「Threads」的源代码
代码结果 7,387
www.eeworm.com/read/417321/10994443
c rwlock7.c
/*
* rwlock7.c
*
* Hammer on a bunch of rwlocks to test robustness and fairness.
* Printed stats should be roughly even for each thread.
*/
#include "test.h"
#include
#ifdef __GNU
www.eeworm.com/read/417321/10994456
c condvar7.c
/*
* File: condvar7.c
*
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX Threads Library for Win32
* Copyright(C) 1998 John E.
www.eeworm.com/read/417321/10994503
c rwlock8.c
/*
* rwlock8.c
*
* Hammer on a bunch of rwlocks to test robustness and fairness.
* Printed stats should be roughly even for each thread.
*
* Yield during each access to exercise lock contention
www.eeworm.com/read/417321/10994551
c condvar8.c
/*
* File: condvar8.c
*
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX Threads Library for Win32
* Copyright(C) 1998 John E.
www.eeworm.com/read/417321/10994685
c tsd2.c
/*
* tsd2.c
*
* Test Thread Specific Data (TSD) key creation and destruction.
*
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX T
www.eeworm.com/read/417321/10994713
c tsd1.c
/*
* tsd1.c
*
* Test Thread Specific Data (TSD) key creation and destruction.
*
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX T
www.eeworm.com/read/392997/7247775
makefile
# NOTE: this is a GNU Makefile. You must use "gmake" rather than "make".
#
# Makefile for the multiprogramming assignment
# Defines set up assuming multiprogramming is done before the file system.
www.eeworm.com/read/458068/7313450
cc threadtest.cc
// threadtest.cc
// Simple test case for the threads assignment.
//
// Create two threads, and have them context switch
// back and forth between themselves by calling Thread::Yield,
// to illustrat
www.eeworm.com/read/444596/7611101
c incr_fcntl1.c
/* Although this program compiles and runs for 1 thread, you cannot run
it with more than 1 thread, since fcntl locks are between processes,
not threads */
/* include main */
#include "unpipc.h
www.eeworm.com/read/440591/7686643
js qihoo.js
/*
[Discuz!] (C)2001-2009 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$Id: qihoo.js 17449 2008-12-22 08:58:53Z cnteacher $
*/
var qihoo_num = 0;
var qihoo_perpage