#include <thread_pool.hh>
Inheritance diagram for atoms::ThreadPool::BlockingMon:


This manipulates the semaphore and designates a new task injector if necessary. It equivalent to Jeffy Darcy's AboutToBlock and BecomeBusy.
These are safe to call from outside thread pools; they are then no-ops. Thus, any code that blocks can safely call them.
Definition at line 88 of file thread_pool.hh.
Public Member Functions | |
| BlockingMon (bool mightBlock) | |
| ~BlockingMon () | |
Private Attributes | |
| ThreadPool * | pool |
|
|
Definition at line 90 of file thread_pool.hh. |
|
|
Definition at line 96 of file thread_pool.hh. References atoms::ThreadPool::becomeBusy(), NULL, and pool. |
Here is the call graph for this function:

|
|
Definition at line 100 of file thread_pool.hh. Referenced by BlockingMon(), and ~BlockingMon(). |
1.3.5