Re: sigx synchronous requests?
- From: klaus triendl <klaus triendl eu>
- To: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: sigx synchronous requests?
- Date: Thu, 09 Apr 2009 08:43:18 +0200
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]