$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: David Greene (greened_at_[hidden])
Date: 2006-02-21 10:51:04
Leon Mergen wrote:
> David Greene wrote:
>
>>If I have an asynchronous state machine running in another thread and
>>I send it an event, is there any way to have the sending thread block
>>until the event is processed? I need to use an asynchoronous machine
>>because the rest of my app is threaded but yet there are points where
>>I must synchronize to know the machine is in a certain state before
>>moving on.
>
> Can't you use something like the half-sync/half-async design pattern to
> solve this ?
Do you have a pointer? I'm not familiar with that pattern.
-Dave