From 1b5cb3e52ab1ed310dd7e3f720b0208a4c3104c2 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Wed, 8 Mar 2023 20:20:57 -0600 Subject: [PATCH] Cleanup: Improve semaphore documentation comments. --- level_0/f_thread/c/thread.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/level_0/f_thread/c/thread.h b/level_0/f_thread/c/thread.h index 01f9303..88e539d 100644 --- a/level_0/f_thread/c/thread.h +++ b/level_0/f_thread/c/thread.h @@ -2329,6 +2329,8 @@ extern "C" { * * This is a blocking function. * + * This causes the semaphore value to decrement. + * * @param semaphore * The thread semaphore. * @@ -2401,6 +2403,8 @@ extern "C" { /** * Unlock the semaphore. * + * This causes the semaphore value to increment. + * * @param semaphore * The thread semaphore. * -- 1.8.3.1