X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Frotation-thread.hpp;h=5e9b9d75e07c6741216d75578753133cfcc127bb;hb=0f4aa1a88a318046475c7caa0f72438db044d9c0;hp=daf5b5f3e97c733aad048996b488313bf1472ee1;hpb=28f23191dcbf047429d51950a337a57d7a3f866a;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/rotation-thread.hpp b/src/bin/lttng-sessiond/rotation-thread.hpp index daf5b5f3e..5e9b9d75e 100644 --- a/src/bin/lttng-sessiond/rotation-thread.hpp +++ b/src/bin/lttng-sessiond/rotation-thread.hpp @@ -41,6 +41,10 @@ public: rotation_thread(rotation_thread_timer_queue& rotation_timer_queue, notification_thread_handle& notification_thread_handle); + rotation_thread(const rotation_thread&) = delete; + rotation_thread(rotation_thread&&) = delete; + rotation_thread& operator=(const rotation_thread&) = delete; + rotation_thread& operator=(rotation_thread&&) = delete; ~rotation_thread(); /* Only use through the lttng_thread facilities. */ @@ -77,7 +81,7 @@ private: lttng_poll_event _events; }; -struct rotation_thread_timer_queue *rotation_thread_timer_queue_create(void); +struct rotation_thread_timer_queue *rotation_thread_timer_queue_create(); void rotation_thread_timer_queue_destroy(struct rotation_thread_timer_queue *queue); void rotation_thread_enqueue_job(struct rotation_thread_timer_queue *queue, enum rotation_thread_job_type job_type,