Boost logo

Boost Users :

From: Oliver.Kowalke_at_[hidden]
Date: 2007-01-19 07:42:03


Hello,
Is it possible to delay the handling of an event?

If I've three states X, Y and Z; initial state is X.
State Y is entered if X receives event y1.
State Z is entered if X receives event z1.
X is entered if Y receives event y2.
Y is entered if Z receives event z2.

If Y is entered then it executes a function which will generate event y2
during ist processing (function will be executed in another thread -
thread passes event y2 to state machine).
It is possible that event z1 is passed to the state machine before event
y2.

How can I delay processing of event z1 until y2 event handling has taken
place?

Regards,
Oliver


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net