Back: Process-printing
Up: Class reference
Forward: ProcessorScheduler class-instance creation
 
Top: GNU Smalltalk User's Guide
Contents: Table of Contents
Index: Class index
About: About this document

6.115 ProcessorScheduler

Defined in namespace Smalltalk
Category: Language-Processes
I provide methods that control the execution of processes.

6.115.1 ProcessorScheduler class: instance creation  (class)
6.115.2 ProcessorScheduler: basic  (instance)
6.115.3 ProcessorScheduler: idle tasks  (instance)
6.115.4 ProcessorScheduler: printing  (instance)
6.115.5 ProcessorScheduler: priorities  (instance)
6.115.6 ProcessorScheduler: storing  (instance)
6.115.7 ProcessorScheduler: timed invocation  (instance)


6.115.1 ProcessorScheduler class: instance creation

new
Error--new instances of ProcessorScheduler should not be created.


6.115.2 ProcessorScheduler: basic

activePriority
Answer the active process' priority

activeProcess
Answer the active process

changePriorityOf: aProcess to: aPriority
Private - Move aProcess to the execution list for aPriority, answer the new execution list

processesAt: aPriority
Private - Answer a linked list of processes at the given priority

terminateActive
Private - Terminate the active process

yield
Let the active process yield control to other processes


6.115.3 ProcessorScheduler: idle tasks

idle
Private - Call the next idle task

idleAdd: aBlock
Register aBlock to be executed when things are idle


6.115.4 ProcessorScheduler: printing

printOn: aStream
Store onto aStream a printed representation of the receiver


6.115.5 ProcessorScheduler: priorities

highestPriority
Answer the highest valid priority

highIOPriority
Answer the priority for system high-priority I/O processes, such as a process handling input from a network.

lowestPriority
Answer the lowest valid priority

lowIOPriority
Answer the priority for system low-priority I/O processes. Examples are the process handling input from the user (keyboard, pointing device, etc.) and the process distributing input from a network.

priorityName: priority
Private - Answer a name for the given process priority

rockBottomPriority
Answer the lowest valid priority

systemBackgroundPriority
Answer the priority for system background-priority processes. Examples are an incremental garbage collector or status checker.

timingPriority
Answer the priority for system real-time processes.

unpreemptedPriority
Answer the highest priority avilable in the system; never create a process with this priority, instead use BlockClosure>>#valueWithoutPreemption.

userBackgroundPriority
Answer the priority for user background-priority processes

userInterruptPriority
Answer the priority for user interrupt-priority processes. Processes run at this level will preempt the window scheduler and should, therefore, not consume the processor forever.

userSchedulingPriority
Answer the priority for user standard-priority processes


6.115.6 ProcessorScheduler: storing

storeOn: aStream
Store onto aStream a Smalltalk expression which evaluates to the receiver


6.115.7 ProcessorScheduler: timed invocation

isTimeoutProgrammed
Private - Answer whether there is a pending call to #signal:atMilliseconds:

signal: aSemaphore atMilliseconds: millis
Private - signal 'aSemaphore' after 'millis' milliseconds have elapsed

signal: aSemaphore onInterrupt: anIntegerSignalNumber
Private - signal 'aSemaphore' when the given C signal occurs




This document was generated on May, 12 2002 using texi2html