File monitor in a background thread



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]