From 112163e580f2ae02d286866ab56f2c9ab96c3e41 Mon Sep 17 00:00:00 2001 From: fincs Date: Fri, 17 Feb 2017 16:08:16 +0100 Subject: [PATCH] Clarify threadFree usage in documentation --- libctru/include/3ds/thread.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libctru/include/3ds/thread.h b/libctru/include/3ds/thread.h index 69998a2..b1af28d 100644 --- a/libctru/include/3ds/thread.h +++ b/libctru/include/3ds/thread.h @@ -54,6 +54,7 @@ int threadGetExitCode(Thread thread); /** * @brief Frees a finished libctru thread. * @param thread libctru thread handle + * @remarks This function should not be called if the thread is detached, as it is freed automatically when it finishes. */ void threadFree(Thread thread);