From: Kevin Day Date: Thu, 9 Mar 2023 02:21:09 +0000 (-0600) Subject: Cleanup: Improve semaphore documentation comments. X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=0c2609bfc082679d90ca58444897a92ab5806559;p=fll Cleanup: Improve semaphore documentation comments. --- 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. *