Threads
- A thread is a single flow of control within a PGENESIS script being executed.
- When a node starts, there is exactly one thread on it - the thread for the script.
- There may potentially be many threads per node. These are stacked up, with only the topmost actually executing at any moment.
- clearthread - yield to one thread awaiting execution (if one exists)
- clearthreads - yield to all threads awaiting execution
Notes:
No notes for slide 31