[Bug 387] TaskContext TaskState confused when activity is started

For more information about this bug, visit

peter [dot] soetens [..] ... changed:

What |Removed |Added
---------------------------------------------------------------------------
Target Milestone|--- |1.2.0
Resolution| |FIXED
Status|NEW |RESOLVED

------- Comment #1 from peter [dot] soetens [..] ... 2007-05-03 11:43

$ svn ci -m"Fix TaskState bug when task was started/stopped with
ActivityInterface::start() instead of TaskCore::start().
> The EE now manages state transitions between Stopped and Running.
> "
Sending src/ExecutionEngine.cpp
Sending src/TaskCore.cpp
Sending src/TaskCore.hpp
Transmitting file data ...
Committed revision 27974.

[Bug 387] New: TaskContext TaskState confused when activity is s

For more information about this bug, visit
A new bug was added:
Summary: TaskContext TaskState confused when activity is started
Product: RTT
Version: rtt-trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Real-Time Toolkit (RTT)
AssignedTo: orocos-dev [..] ...
ReportedBy: peter [dot] soetens [..] ...

When a TaskContext is started using its activity's start() function, the
TaskState is not updated and it is impossible to stop it again (stop() returns
false). It does work when the TaskContext's proper start() function is used.