What causes GLib I/O Channels operations to use up 100% CPU in GTK+ app.?
- From: Daniel Yek <dyek real com>
- To: gtk-app-devel-list gnome org
- Subject: What causes GLib I/O Channels operations to use up 100% CPU in GTK+ app.?
- Date: Thu, 12 Oct 2006 02:36:51 -0700
Hi,
I am attaching the source code of a small test program here.
Could somebody enlighten me why after an I/O Channel operation
(g_io_channel_shutdown() here), the GTK+ program started to use up 100% CPU?
Is it monitoring something? Do I need to undo g_io_add_watch() somehow?
What operation is needed to not get into such situation?
Thanks.
--
Daniel Yek
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]