Re: sigx synchronous requests?



Milosz Derezynski schrieb:
> Thanks very much!

You're welcome!
I made a mistake in the request handler, you not only have to open a
tunnel, but you also must *call* it:

int mythread::sync_calc()
{
  // sync request
  return sigx::open_sync_tunnel(
    sigc::mem_fun(this, &mythread::on_calc)
   )();
//  ^^
}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]