main loop & asynchronous queues
- From: Thomas Stover <thomas wsinnovations com>
- To: gtk-app-devel-list gnome org
- Subject: main loop & asynchronous queues
- Date: Tue, 22 Sep 2009 18:59:25 -0500
Does glib allow for things like a two threaded program with inter-thread
communication via async queues while each thread has a separate main
loop waiting for both external stimulus and new queue messages to
arrive? In other words, a) can a main loop be made to run a callback
when a queue message arrives without polling (possibly futex based on
linux), and b) can two threads each have a main loop?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]