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=eb206e701ebccf7755009c4136a928e5c0a3da40;hb=64d9b072ae17f9d2b9cc320ddef3dbe373761a93;hpb=a7333da73c2083281c5ec833d041b7acf0d10d0b;ds=sidebyside diff --git a/src/bin/lttng-sessiond/rotation-thread.h b/src/bin/lttng-sessiond/rotation-thread.h index eb206e701..b83745786 100644 --- a/src/bin/lttng-sessiond/rotation-thread.h +++ b/src/bin/lttng-sessiond/rotation-thread.h @@ -47,15 +47,15 @@ void rotation_thread_timer_queue_destroy( struct rotation_thread_handle *rotation_thread_handle_create( 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 */