projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: handle_notification_thread_command: handle partial read
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
notification-thread.c
diff --git
a/src/bin/lttng-sessiond/notification-thread.c
b/src/bin/lttng-sessiond/notification-thread.c
index 9809e6190cd60cbb453cea62b704a62e6da84cc5..b42b282e10cfbc98e262eca77ad6fd6dbeac1213 100644
(file)
--- a/
src/bin/lttng-sessiond/notification-thread.c
+++ b/
src/bin/lttng-sessiond/notification-thread.c
@@
-653,7
+653,8
@@
bool shutdown_notification_thread(void *thread_data)
return true;
}
return true;
}
-bool launch_notification_thread(struct notification_thread_handle *handle)
+struct lttng_thread *launch_notification_thread(
+ struct notification_thread_handle *handle)
{
struct lttng_thread *thread;
{
struct lttng_thread *thread;
@@
-672,8
+673,7
@@
bool launch_notification_thread(struct notification_thread_handle *handle)
* (e.g. rotation thread).
*/
wait_until_thread_is_ready(handle);
* (e.g. rotation thread).
*/
wait_until_thread_is_ready(handle);
- lttng_thread_put(thread);
- return true;
+ return thread;
error:
error:
- return
false
;
+ return
NULL
;
}
}
This page took
0.032123 seconds
and
4
git commands to generate.