#include <I_Tasks.h>
Inherits Processor.

Public Member Functions | |
| int | start (int task_threads, size_t stacksize=DEFAULT_STACKSIZE) |
| Starts execution of the processor. | |
Definition at line 32 of file I_Tasks.h.
| int TasksProcessor::start | ( | int | number_of_threads, | |
| size_t | stacksize = DEFAULT_STACKSIZE | |||
| ) | [virtual] |
Starts execution of the processor.
Attempts to start the number of threads specified for the processor, initializes their states and sets them running. On failure it returns a negative value.
| number_of_threads | Positive value indicating the number of threads to spawn for the processor. | |
| stacksize | The thread stack size to use for this processor. |
Reimplemented from Processor.
Definition at line 34 of file Tasks.cc.
References ET_TASK, eventProcessor, and EventProcessor::spawn_event_threads().
Referenced by main().
1.7.1