[kupfer] data: Experiment with daemonizing PeriodicRescanner thread
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [kupfer] data: Experiment with daemonizing PeriodicRescanner thread
- Date: Fri, 6 Nov 2009 20:59:22 +0000 (UTC)
commit 0db4c478ad19875d35c395e75589772297670396
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date: Fri Nov 6 17:55:43 2009 +0100
data: Experiment with daemonizing PeriodicRescanner thread
kupfer/data.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/kupfer/data.py b/kupfer/data.py
index 3e812f0..3c13c5c 100644
--- a/kupfer/data.py
+++ b/kupfer/data.py
@@ -194,6 +194,7 @@ class PeriodicRescanner (gobject.GObject, pretty.OutputMixin):
self.rescan_source(source)
elif not source.is_dynamic():
thread = threading.Thread(target=self.rescan_source, args=(source,))
+ thread.setDaemon(True)
thread.start()
def rescan_source(self, source):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]