Example #1
0
void DispatchThread::notify(const WEvent& event)
{
  event_ = &event;

  done_ = false;

  if (dispatchObject_)
    dispatchObject_->propagateEvent();
  else
    myPropagateEvent();

  waitDone();
}
Example #2
0
void DispatchThread::notify(const WEvent& event)
{
  _event = &event;

  _done = false;

  if (_dispatchObject)
    _dispatchObject->propagateEvent();
  else
    myPropagateEvent();

  waitDone();
}