代码搜索:Threads
找到约 7,387 项符合「Threads」的源代码
代码结果 7,387
www.eeworm.com/read/142657/12932162
c thrdterm.c
/*
* ThrdTerm.c
*
* Sample code for "Multithreading Applications in Win32"
* This is from Chapter 5, Listing 5-1
*
* Demonstrates how to request threads to exit.
*
* Build command: cl
www.eeworm.com/read/139738/13136984
java boat.java
package nachos.threads;
import nachos.ag.BoatGrader;
public class Boat
{
static BoatGrader bg;
public static void selfTest()
{
BoatGrader b = new BoatGrader();
System.out.
www.eeworm.com/read/139738/13136985
java rider.java
package nachos.threads;
import nachos.machine.*;
/**
* A single rider. Each rider accesses the elevator bank through an
* instance of RiderControls.
*/
public class Rider implements Ride
www.eeworm.com/read/139738/13136987
java lock.java
package nachos.threads;
import nachos.machine.*;
/**
* A Lock is a synchronization primitive that has two states,
* busy and free. There are only two operations allowed on a
www.eeworm.com/read/139738/13137012
java threadedkernel.java
package nachos.threads;
import nachos.machine.*;
/**
* A multi-threaded OS kernel.
*/
public class ThreadedKernel extends Kernel {
/**
* Allocate a new multi-threaded kernel.
*/
www.eeworm.com/read/139738/13137117
java synchconsole.java
package nachos.userprog;
import nachos.machine.*;
import nachos.threads.*;
import nachos.userprog.*;
/**
* Provides a simple, synchronized interface to the machine's console. The
* interface can a
www.eeworm.com/read/139738/13137121
java userprocess.java
package nachos.userprog;
import nachos.machine.*;
import nachos.threads.*;
import nachos.userprog.*;
import java.io.EOFException;
/**
* Encapsulates the state of a user process that is not contain
www.eeworm.com/read/139738/13137337
java postoffice.java
package nachos.network;
import nachos.machine.*;
import nachos.threads.*;
/**
* A collection of message queues, one for each local port. A
* PostOffice interacts directly with the network
www.eeworm.com/read/139189/13184816
man m_macosx.man
.SH "MacOS X NOTES"
The display is pretty close to the recommended display and also that
of a normal 4.4 BSD system. The NICE column has been changed to be
the number of threads for each process. Th