daemon exports main_thread_id, sends SIGTERM to the main thread in daemon_kill

This commit is contained in:
Martin Willi
2008-12-12 09:13:06 +00:00
parent 7a485e90bd
commit 30841a0305
2 changed files with 8 additions and 8 deletions
+5
View File
@@ -303,6 +303,11 @@ struct daemon_t {
*/
gid_t gid;
/**
* The thread_id of main-thread.
*/
pthread_t main_thread_id;
/**
* Do not drop a given capability after initialization.
*