Process.st
branchjv
changeset 20244 20922299fd44
parent 20081 2961b4289773
parent 20230 47a4de3366cf
child 20342 219a5a47e8b1
equal deleted inserted replaced
20229:b5cdb27022c8 20244:20922299fd44
    56 
    56 
    57     Smalltalk processes do not nescessarily need to be implemented as native
    57     Smalltalk processes do not nescessarily need to be implemented as native
    58     threads - it may, but the actual implementation depends on the underlying
    58     threads - it may, but the actual implementation depends on the underlying
    59     OS'S features. However, even if implemented as native thread, the ST/X
    59     OS'S features. However, even if implemented as native thread, the ST/X
    60     kernel makes certain, that only one thread executes at a time (with certain,
    60     kernel makes certain, that only one thread executes at a time (with certain,
    61     well-defined exceptions). The reason is that the reqiored locking in the
    61     well-defined exceptions). The reason is that the required locking in the
    62     runtime system would make things slower in most cases.
    62     runtime system would make things slower in most cases.
    63 
    63 
    64     Processes are typically created by sending #fork or #forkAt: to a block;
    64     Processes are typically created by sending #fork or #forkAt: to a block;
    65     the block creates a new process, defines itself as its startBlock,
    65     the block creates a new process, defines itself as its startBlock,
    66     and (optionally) tells the Processor about the new process.
    66     and (optionally) tells the Processor about the new process.