1 Language Model
2 Syntactic Forms
3 Datatypes
4 Structures
5 Classes and Objects
6 Units
7 Contracts
8 Pattern Matching
9 Control Flow
10 Concurrency
11 Macros
12 Input and Output
13 Reflection and Security
14 Operating System
15 Memory Management
16 Running PLT Scheme
Bibliography
Index
Version: 4.0.2

 

10 Concurrency

PLT Scheme supports multiple threads of control within a program. Threads run concurrently, in the sense that one thread can preempt another without its cooperation, but threads currently all run on the same processor (i.e., the same underlying OS process and thread).

    10.1 Threads

      10.1.1 Creating Threads

      10.1.2 Suspending, Resuming, and Killing Threads

      10.1.3 Synchronizing Thread State

      10.1.4 Thread Mailboxes

    10.2 Synchronization

      10.2.1 Events

      10.2.2 Channels

      10.2.3 Semaphores

      10.2.4 Buffered Asynchronous Channels

    10.3 Thread-Local Storage

      10.3.1 Thread Cells

      10.3.2 Parameters