X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fht-cleanup.h;h=52cca832574f4bfb8049f9b91d77790bf58c5656;hp=8ca0e312398cbbc9cd51f473a374e2d8e6da43c5;hb=a2814ea7573bf5edd5323d6f89c48ff14105db69;hpb=5e97de0089e5a91e4dd8bae5aa7e1956597c508b diff --git a/src/bin/lttng-sessiond/ht-cleanup.h b/src/bin/lttng-sessiond/ht-cleanup.h index 8ca0e3123..52cca8325 100644 --- a/src/bin/lttng-sessiond/ht-cleanup.h +++ b/src/bin/lttng-sessiond/ht-cleanup.h @@ -1,26 +1,16 @@ /* - * Copyright (C) 2016 - Jérémie Galarneau + * Copyright (C) 2016 Jérémie Galarneau * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License, version 2 only, - * as published by the Free Software Foundation. + * SPDX-License-Identifier: GPL-2.0-only * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef _LTTNG_HT_CLEANUP_H #define _LTTNG_HT_CLEANUP_H #include +#include "thread.h" -int init_ht_cleanup_thread(pthread_t *thread); -int fini_ht_cleanup_thread(pthread_t *thread); +struct lttng_thread *launch_ht_cleanup_thread(void); #endif /* _LTTNG_HT_CLEANUP_H */