Commit Graph

7 Commits

Author SHA1 Message Date
Patrick Ulbrich
df1a8c4d43 removed some unnecessary braces 2013-10-04 17:10:14 +02:00
Patrick Ulbrich
c5bdb66231 subproc: specified timeout on function call, removed comment 2013-10-04 15:56:03 +02:00
Patrick Ulbrich
c7c926996b subproc: added a further lock, comments and refactoring 2013-10-03 13:10:40 +02:00
Patrick Ulbrich
6f40812ac5 subproc: return pid of started process 2013-09-15 17:46:28 +02:00
Patrick Ulbrich
19d21598e1 make sure the _procs dictionary contains valid data when
start_subprocess returns

(as of now threads only wait for process termination)
2013-09-01 19:45:51 +02:00
Patrick Ulbrich
b99cc664ff don't leak thread objects 2013-08-25 18:00:41 +02:00
Patrick Ulbrich
663dc50057 terminate subprocesses on shutdown (e.g. on shutdown via dbus or SIGTERM)
* fixes program hang on shutdown
* improves consistency - terminating Mailnag via CTRL+C always did this
2013-08-25 15:38:35 +02:00