X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Frotation-thread.h;h=b83745786b977528181993f9b7591f8f593a514f;hp=618797f108d3d842142c55d65a4842af10ad5e06;hb=f17b873261bab722b58f21aabd3fcb44a0bbc20d;hpb=92816cc33a1add3c8276839bd6335e17423577dd diff --git a/src/bin/lttng-sessiond/rotation-thread.h b/src/bin/lttng-sessiond/rotation-thread.h index 618797f10..b83745786 100644 --- a/src/bin/lttng-sessiond/rotation-thread.h +++ b/src/bin/lttng-sessiond/rotation-thread.h @@ -46,17 +46,16 @@ void rotation_thread_timer_queue_destroy( struct rotation_thread_timer_queue *queue); struct rotation_thread_handle *rotation_thread_handle_create( - int thread_quit_pipe, struct rotation_thread_timer_queue *rotation_timer_queue, - struct notification_thread_handle *notification_thread_handle, - sem_t *notification_thread_ready); + struct notification_thread_handle *notification_thread_handle); void rotation_thread_handle_destroy( struct rotation_thread_handle *handle); void rotation_thread_enqueue_job(struct rotation_thread_timer_queue *queue, - enum rotation_thread_job_type job_type, uint64_t session_id); + enum rotation_thread_job_type job_type, + struct ltt_session *session); -void *thread_rotation(void *data); +bool launch_rotation_thread(struct rotation_thread_handle *handle); #endif /* ROTATION_THREAD_H */