$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Rainer Thaden (RThaden_at_[hidden])
Date: 2008-03-09 20:54:52
Hi all,
maybe a simple question, but I just can't figure it out:
I have a class which triggers an action on a remote device.
A different thread polls for the response and sends a signal that the
response has arrived.
What I simply want is a blocking call like this:
// connect to the signal which reports the response
otherClass.sigResponse().connect( some sort of lamda magic?)
SendCommand(cmd);
// Wait somehow until the response has arrived
WaitForSigResponse();
return;
Any help appreciated.
Thanks,
Rainer