File monitor in a background thread
- From: Gang Chen <gang chen cn gmail com>
- To: gtk-list <gtk-list gnome org>
- Subject: File monitor in a background thread
- Date: Wed, 22 Jun 2011 08:44:41 +0800
Hi all,
The reference says, "The changed signal will be emitted in the
thread-default main context of the thread that the monitor was created
in." Then if I create a file monitor in a background thread, is it
necessary to enter the event loop in that thread in order to catch the
changed signal? My background thread is mainly used to carry out
background tasks. I don't want to use an event loop in it. Any ideas?
Thanks,
Gang
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]