代码搜索:Threads
找到约 7,387 项符合「Threads」的源代码
代码结果 7,387
www.eeworm.com/read/483654/6600224
common makefile.common
# This is part of a GNU Makefile, included by the Makefiles in
# each of the subdirectories.
#
# This file includes all of the baseline code provided by Nachos.
# Whenever you add a .h or .cc file,
www.eeworm.com/read/481225/6645250
common makefile.common
# This is part of a GNU Makefile, included by the Makefiles in
# each of the subdirectories.
#
# This file includes all of the baseline code provided by Nachos.
# Whenever you add a .h or .cc file,
www.eeworm.com/read/477551/6738312
java serverpool.java
// $Id: ServerPool.java,v 1.18 2001/01/17 23:27:10 nconway Exp $
package tornado;
import java.net.*;
import java.io.*;
import java.util.ArrayList;
public class ServerPool {
private ArrayLi
www.eeworm.com/read/405621/11460080
java piggybankwithsync.java
/**
* PiggyBankWithSync.java:
* - Demonstrate avoiding resource conflict
*/
public class PiggyBankWithSync
{
private PiggyBank bank = new PiggyBank();
//Create array for 100 threads
pr
www.eeworm.com/read/405621/11460082
java piggybankwithoutsync.java
/**
* PiggyBankWithoutSync.java:
* - Demonstrating a resource conflict
*/
public class PiggyBankWithoutSync
{
private PiggyBank bank = new PiggyBank();
//Create array for 100 threads
priv
www.eeworm.com/read/403956/11495395
h threadpool.h
/*///////////////////////////////////////////////////////////////////////////////////
线程管理
包括线程池管理
线程队列管理
线程封装
李亦
2006.6.15
/*////////////////////////////////////////////////////////////
www.eeworm.com/read/403956/11495436
h threadmanager.h
/*///////////////////////////////////////////////////////////////////////////////////
线程管理
包括线程池管理
线程队列管理
线程封装
李亦
2006.6.15
/*////////////////////////////////////////////////////////////
www.eeworm.com/read/158402/11620688
java lotteryscheduler.java
package nachos.threads;
import nachos.machine.*;
import java.util.TreeSet;
import java.util.HashSet;
import java.util.Iterator;
/**
* A scheduler that chooses threads using a lottery.
*
*
*
www.eeworm.com/read/158402/11620701
java communicator.java
package nachos.threads;
import nachos.machine.*;
/**
* A communicator allows threads to synchronously exchange 32-bit
* messages. Multiple threads can be waiting to speak,
* and mul
www.eeworm.com/read/158402/11620708
java priorityscheduler.java
package nachos.threads;
import nachos.machine.*;
import java.util.TreeSet;
import java.util.HashSet;
import java.util.Iterator;
/**
* A scheduler that chooses threads based on their priorities.
*