From 0c2609bfc082679d90ca58444897a92ab5806559 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Wed, 8 Mar 2023 20:21:09 -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 b95c2c5..c6c4fa1 100644 --- a/level_0/f_thread/c/thread.h +++ b/level_0/f_thread/c/thread.h @@ -2333,6 +2333,8 @@ extern "C" { * * This is a blocking function. * + * This causes the semaphore value to decrement. + * * @param semaphore * The thread semaphore. * @@ -2405,6 +2407,8 @@ extern "C" { /** * Unlock the semaphore. * + * This causes the semaphore value to increment. + * * @param semaphore * The thread semaphore. * -- 1.8.3.1