代码搜索:Threads
找到约 7,387 项符合「Threads」的源代码
代码结果 7,387
www.eeworm.com/read/144216/5752431
t thr5005.t
#!./perl
BEGIN {
chdir 't' if -d 't';
@INC = '../lib';
require Config; import Config;
if (! $Config{'use5005threads'}) {
print "1..0 # Skip: not use5005threads\n";
exit 0;
}
www.eeworm.com/read/130612/14181589
java bankoperation.java
// Chapter 15 Exercise 3
import java.util.Random;
/*
This exercise is a little tricky since we have supervisor threads to deal with
as well as clerk threads. Clerks have names to identify who
www.eeworm.com/read/222777/14673988
c 12_sample_system.c
/* 12_sample_system.c
Create two threads, one byte pool, and one message queue.
The threads communicate with each other via the message queue.
Arrays are used for the stacks and the queu
www.eeworm.com/read/412251/2171308
svn-base config.h.svn-base
/* config.h. Generated by configure. */
/* config.h.in. Generated from configure.ac by autoheader. */
/* Defined if threads enabled */
/* #undef ENABLE_THREADS */
/* Define to 1 if you have the
www.eeworm.com/read/111805/15503115
java bankoperation.java
// Chapter 15 Exercise 3
import java.util.Random;
/*
This exercise is a little tricky since we have supervisor threads to deal with
as well as clerk threads. Clerks have names to identify who
www.eeworm.com/read/242863/12976751
h sig_handler.h
//
// This file is part of the C++ threads library
//
// Copyright (C) 2001, The C++ threads library team.
//
// This file creates a mechanism to deliver signals
// to a C++ thread.
//
#ifndef CPP_TH
www.eeworm.com/read/139738/13137053
java elevatortest.java
// PART OF THE MACHINE SIMULATION. DO NOT CHANGE.
package nachos.machine;
import nachos.security.*;
import nachos.threads.KThread;
import nachos.threads.Semaphore;
/**
* Tests the ElevatorBank
www.eeworm.com/read/158402/11620842
java elevatortest.java
// PART OF THE MACHINE SIMULATION. DO NOT CHANGE.
package nachos.machine;
import nachos.security.*;
import nachos.threads.KThread;
import nachos.threads.Semaphore;
/**
* Tests the ElevatorBank
www.eeworm.com/read/222777/14673984
c 10b_sample_system.c
/* 10b_sample_system.c
Producer-Consumer System
Create two threads and one counting semaphore.
Threads cooperate with each other via the semaphore.
Timer generates statistics at pe
www.eeworm.com/read/233448/4670104
t-osf-pthread
# Provide dummy POSIX threads functions
LIB2FUNCS_EXTRA += $(srcdir)/gthr-posix.c
# Compile libgcc2 with POSIX threads supports
TARGET_LIBGCC2_CFLAGS=-pthread