Yielding event loop
- From: "Mark Tilford" <ralphmerridew gmail com>
- To: gtkmm-list gnome org
- Subject: Yielding event loop
- Date: Fri, 15 Sep 2006 06:25:52 -0500
I hope this isn't too unclear:
For various reasons, one handler needs to do something moderately
complex, and partway through, I need to get input from another widget.
The stack frame is involved enough that I can't easily return; I want
the program to be portable (and I'd prefer to avoid trying to
synchronize threads if possible).
Is it possible to have the handler simply transfer control back to the
main event loop until the other widget sends its message?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]