From 5f36bf12f93f480f1f957b884c8f7f69da64648c Mon Sep 17 00:00:00 2001 From: Markus Minichmayr Date: Mon, 10 Oct 2022 19:01:06 +0200 Subject: CMAKE option LIBICAL_SYNC_MODE_THREADLOCAL: Allow compiling all global variables with thread-local storage, thus avoiding the need for synchronization. --- src/libical/icalmemory.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libical/icalmemory.h') diff --git a/src/libical/icalmemory.h b/src/libical/icalmemory.h index 39541d2d..adb580da 100644 --- a/src/libical/icalmemory.h +++ b/src/libical/icalmemory.h @@ -120,8 +120,8 @@ LIBICAL_ICAL_EXPORT void icalmemory_add_tmp_buffer(void *buf); /** * @brief Frees all memory used in the ring * - * Frees all memory used in the ring. Depending on if HAVE_PTHREAD is set or - * not, the ring buffer is allocated on a per-thread basis, meaning that if all + * Frees all memory used in the ring. If PTHREAD is used or thread-local mode is configured, + * the ring buffer is allocated on a per-thread basis, meaning that if all * rings are to be released, it must be called once in every thread. * * @par Usage -- cgit v1.2.1