Public Member Functions

TasksProcessor Class Reference

#include <I_Tasks.h>

Inherits Processor.

Collaboration diagram for TasksProcessor:
Collaboration graph
[legend]

Public Member Functions

int start (int task_threads, size_t stacksize=DEFAULT_STACKSIZE)
 Starts execution of the processor.

Detailed Description

Definition at line 32 of file I_Tasks.h.


Member Function Documentation

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.

Parameters:
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().


The documentation for this class was generated from the following files: