From: Mathieu Desnoyers Date: Mon, 5 Jan 2015 21:43:06 +0000 (-0500) Subject: Fix: call lttng_poll_set_max_size before start threads X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=25b397f9ccee70eb6f2968837702c50f22ad7bbf;hp=25b397f9ccee70eb6f2968837702c50f22ad7bbf Fix: call lttng_poll_set_max_size before start threads This changes the location of lttng_poll_set_max_size() call within sessiond main() to call it before creating the ht_cleanup thread. This fix is only needed on top of the main refactoring patch. This fix also adds checks for lttng_poll_set_max_size() error values. Fixes #747 Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau ---