Backup threads are threads which execute jobs if main threads are in blocking state
Registered by
KAtanasov
Since jobs, "parallel for" or task could actually block(sleep), every fly thread should have "backup" - thread which sleeps most of the time and is waken only if the main thread blocks.
Blueprint information
Whiteboard
(?)
Work Items
Work items:
[katanasov] Thread state for fly_thread, sleep, running, etc: DONE
[katanasov] Semaphore wrapper - fly_sem to update fly_thread state: DONE
[katanasov] mrswlock to be able to set fly_thread state: DONE
[katanasov] Proc file system parsing to get OS thread state: DONE
[katanasov] Add backup thread to fly_worker and fly_sched to start using it: DONE
Dependency tree
* Blueprints in grey have been implemented.