From: Kevin Day Date: Thu, 9 Mar 2023 02:20:57 +0000 (-0600) Subject: Cleanup: Improve semaphore documentation comments. X-Git-Tag: 0.6.4~16 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=1b5cb3e52ab1ed310dd7e3f720b0208a4c3104c2;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 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. *