projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Major code cleanup
[lttng-tools.git]
/
ltt-sessiond
/
utils.c
diff --git
a/ltt-sessiond/utils.c
b/ltt-sessiond/utils.c
index 91972e9a80030ab6d331b7f6d207f3532acd0b88..429d25b3b1a2ffa243d40f2d2cd32abbd1a89f27 100644
(file)
--- a/
ltt-sessiond/utils.c
+++ b/
ltt-sessiond/utils.c
@@
-29,6
+29,21
@@
#include "utils.h"
#include "utils.h"
+/*
+ * Write to writable pipe used to notify a thread.
+ */
+int notify_thread_pipe(int wpipe)
+{
+ int ret;
+
+ ret = write(wpipe, "!", 1);
+ if (ret < 0) {
+ perror("write poll pipe");
+ }
+
+ return ret;
+}
+
/*
* Return pointer to home directory path using the env variable HOME.
*
/*
* Return pointer to home directory path using the env variable HOME.
*
This page took
0.033138 seconds
and
4
git commands to generate.