|
FreePOOMA
2.4.1
|
Classes | |
| class | Runnable |
| Runnable is the base class for system classes "Thread" and "Iterate". More... | |
| struct | SerialAsync |
| Tag class for specializing IterateScheduler, Iterate and DataObject. More... | |
| class | Iterate< SerialAsync > |
| Iterate<SerialAsync> is used to implement the SerialAsync scheduling policy. More... | |
| struct | SystemContext |
| class | IterateScheduler< SerialAsync > |
| Implements a asynchronous scheduler for a data driven execution. More... | |
| class | DataObject< SerialAsync > |
| Implements a asynchronous scheduler for a data driven execution. More... | |
| class | Stub |
| class | Iterate< Stub > |
| class | IterateScheduler< Stub > |
| class | DataObject< Stub > |
Typedefs | |
| typedef Runnable * | RunnablePtr_t |
Functions | |
| void | add (RunnablePtr_t) |
| Schedulers need to implement this function to add a runnable to the execution queue. | |
| void | concurrency (int) |
| int | concurrency () |
| void | wait () |
| void | mustRunOn () |
| void | add (Runnable *runnable) |
| typedef Runnable* Smarts::RunnablePtr_t |
| void Smarts::add | ( | RunnablePtr_t | rn | ) | [inline] |
Schedulers need to implement this function to add a runnable to the execution queue.
Adds a runnable to the appropriate work-queue.
References Smarts::Runnable::priority(), Smarts::SystemContext::workQueue_m, and Smarts::SystemContext::workQueueMessages_m.
Referenced by Pooma::addRunnable(), and Smarts::Iterate< SerialAsync >::notify().
| void Smarts::concurrency | ( | int | ) | [inline] |
Referenced by DefaultTPmapper< Dim >::map(), LocalMapper< Dim >::map(), and ContextMapper< Dim >::setAffinity().
| int Smarts::concurrency | ( | ) | [inline] |
| void Smarts::wait | ( | ) | [inline] |
| void Smarts::mustRunOn | ( | ) | [inline] |
| void Smarts::add | ( | Runnable * | runnable | ) | [inline] |
References Smarts::Runnable::execute().
1.7.6.1