summaryrefslogtreecommitdiff
path: root/src/basic/process-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-27 00:02:45 +0100
committerLennart Poettering <lennart@poettering.net>2015-10-27 13:25:57 +0100
commitd4510856a007712900795c79853d2218780c2321 (patch)
tree3c9bf5662f4017a6763c78d638e1e38b1a2ccdf4 /src/basic/process-util.h
parent430f0182b72373145c839dbfe99d2382855cb8f8 (diff)
util-lib: move is_main_thread() to process-util.[ch]
Diffstat (limited to 'src/basic/process-util.h')
-rw-r--r--src/basic/process-util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/process-util.h b/src/basic/process-util.h
index 2c0d1af000..d17df5d81f 100644
--- a/src/basic/process-util.h
+++ b/src/basic/process-util.h
@@ -66,3 +66,5 @@ int getenv_for_pid(pid_t pid, const char *field, char **_value);
bool pid_is_alive(pid_t pid);
bool pid_is_unwaited(pid_t pid);
+
+bool is_main_thread(void);