aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/daemon.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/charon/daemon.h')
-rw-r--r--src/charon/daemon.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/charon/daemon.h b/src/charon/daemon.h
index f498d8ab4..d93caa1b1 100644
--- a/src/charon/daemon.h
+++ b/src/charon/daemon.h
@@ -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.
*