class Thread
Base class:
Object Inherited classes: Empty
Description: represents a mama thread, which is an independent executing unit
- Fields:
- Empty
- Methods:
- setprio(): Sets the thread priority according to the parameter: positive value indicates high priority, 0 value indicates normal priority, and negative value indicates low priority
- start(): Starts the execution of this thread
- start_thread(): Starts the execution of the thread given as a parameter
- terminate(): Terminate the execution of the current thread
- yield(): Yields the time left to the end of the quantum - enables thread switching
- Events:
- Empty
Back to Mama reference