]> Kevux Git Server - fll/commitdiff
Cleanup: Add missing documentation in certain thread functions.
authorKevin Day <Kevin@kevux.org>
Sat, 16 Aug 2025 01:50:02 +0000 (20:50 -0500)
committerKevin Day <Kevin@kevux.org>
Sat, 16 Aug 2025 01:50:02 +0000 (20:50 -0500)
level_0/f_thread/c/thread/barrier.h
level_0/f_thread/c/thread/condition.h
level_0/f_thread/c/thread/lock.h
level_0/f_thread/c/thread/mutex.h

index 81d32c110fdad780d7c45d58f1ec8afd4b311102..28ca27246d36bf701785c8b5f7371032dad3f553 100644 (file)
@@ -70,12 +70,15 @@ extern "C" {
  * @return
  *   F_okay on success.
  *
+ *   F_busy (with error bit) if a barrier is busy.
  *   F_parameter (with error bit) if a parameter is invalid.
  *
  *   Errors (with error bit) from: f_memory_array_resize().
  *
  * @see f_memory_array_resize()
  * @see f_memory_arrays_resize()
+ *
+ * @see pthread_barrier_destroy()
  */
 #ifndef _di_f_thread_barriers_delete_callback_
   extern f_status_t f_thread_barriers_delete_callback(const f_number_unsigned_t start, const f_number_unsigned_t stop, void * const array);
@@ -100,12 +103,15 @@ extern "C" {
  * @return
  *   F_okay on success.
  *
+ *   F_busy (with error bit) if a barrier is busy.
  *   F_parameter (with error bit) if a parameter is invalid.
  *
  *   Errors (with error bit) from: f_memory_array_adjust().
  *
  * @see f_memory_array_adjust()
  * @see f_memory_arrays_adjust()
+ *
+ * @see pthread_barrier_destroy()
  */
 #ifndef _di_f_thread_barriers_destroy_callback_
   extern f_status_t f_thread_barriers_destroy_callback(const f_number_unsigned_t start, const f_number_unsigned_t stop, void * const array);
@@ -130,12 +136,15 @@ extern "C" {
  * @return
  *   F_okay on success.
  *
+ *   F_busy (with error bit) if a barrier is busy.
  *   F_parameter (with error bit) if a parameter is invalid.
  *
  *   Errors (with error bit) from: f_memory_array_resize().
  *
  * @see f_memory_array_resize()
  * @see f_memory_arrays_resize()
+ *
+ * @see pthread_barrier_destroy()
  */
 #ifndef _di_f_thread_barrierss_delete_callback_
   extern f_status_t f_thread_barrierss_delete_callback(const f_number_unsigned_t start, const f_number_unsigned_t stop, void * const array);
@@ -160,12 +169,15 @@ extern "C" {
  * @return
  *   F_okay on success.
  *
+ *   F_busy (with error bit) if a barrier is busy.
  *   F_parameter (with error bit) if a parameter is invalid.
  *
  *   Errors (with error bit) from: f_memory_array_adjust().
  *
  * @see f_memory_array_adjust()
  * @see f_memory_arrays_adjust()
+ *
+ * @see pthread_barrier_destroy()
  */
 #ifndef _di_f_thread_barrierss_destroy_callback_
   extern f_status_t f_thread_barrierss_destroy_callback(const f_number_unsigned_t start, const f_number_unsigned_t stop, void * const array);
index c63d6872aee60d81813eb1ca343d2bba705b1eb4..4f6dcdd4a805ed03cd3999411ab723c8d35f2e72 100644 (file)
@@ -71,12 +71,15 @@ extern "C" {
  * @return
  *   F_okay on success.
  *
+ *   F_busy (with error bit) if a condition is busy.
  *   F_parameter (with error bit) if a parameter is invalid.
  *
  *   Errors (with error bit) from: f_memory_array_resize().
  *
  * @see f_memory_array_resize()
  * @see f_memory_arrays_resize()
+ *
+ * @see pthread_condition_destroy()
  */
 #ifndef _di_f_thread_conditions_delete_callback_
   extern f_status_t f_thread_conditions_delete_callback(const f_number_unsigned_t start, const f_number_unsigned_t stop, void * const array);
@@ -101,12 +104,15 @@ extern "C" {
  * @return
  *   F_okay on success.
  *
+ *   F_busy (with error bit) if a condition is busy.
  *   F_parameter (with error bit) if a parameter is invalid.
  *
  *   Errors (with error bit) from: f_memory_array_adjust().
  *
  * @see f_memory_array_adjust()
  * @see f_memory_arrays_adjust()
+ *
+ * @see pthread_condition_destroy()
  */
 #ifndef _di_f_thread_conditions_destroy_callback_
   extern f_status_t f_thread_conditions_destroy_callback(const f_number_unsigned_t start, const f_number_unsigned_t stop, void * const array);
@@ -131,12 +137,15 @@ extern "C" {
  * @return
  *   F_okay on success.
  *
+ *   F_busy (with error bit) if a condition is busy.
  *   F_parameter (with error bit) if a parameter is invalid.
  *
  *   Errors (with error bit) from: f_memory_array_resize().
  *
  * @see f_memory_array_resize()
  * @see f_memory_arrays_resize()
+ *
+ * @see pthread_condition_destroy()
  */
 #ifndef _di_f_thread_conditionss_delete_callback_
   extern f_status_t f_thread_conditionss_delete_callback(const f_number_unsigned_t start, const f_number_unsigned_t stop, void * const array);
@@ -161,12 +170,15 @@ extern "C" {
  * @return
  *   F_okay on success.
  *
+ *   F_busy (with error bit) if a condition is busy.
  *   F_parameter (with error bit) if a parameter is invalid.
  *
  *   Errors (with error bit) from: f_memory_array_adjust().
  *
  * @see f_memory_array_adjust()
  * @see f_memory_arrays_adjust()
+ *
+ * @see pthread_condition_destroy()
  */
 #ifndef _di_f_thread_conditionss_destroy_callback_
   extern f_status_t f_thread_conditionss_destroy_callback(const f_number_unsigned_t start, const f_number_unsigned_t stop, void * const array);
index 73a3f11a6ae12fd262e59e866d20934e7bb305cb..02f8b2b185a9a4d8d7abe9895aeb6450ee0c5d3f 100644 (file)
@@ -71,6 +71,7 @@ extern "C" {
  * @return
  *   F_okay on success.
  *
+ *   F_busy (with error bit) if a lock is busy.
  *   F_parameter (with error bit) if a parameter is invalid.
  *
  *   Errors (with error bit) from: f_memory_array_resize().
@@ -101,6 +102,7 @@ extern "C" {
  * @return
  *   F_okay on success.
  *
+ *   F_busy (with error bit) if a lock is busy.
  *   F_parameter (with error bit) if a parameter is invalid.
  *
  *   Errors (with error bit) from: f_memory_array_adjust().
@@ -131,6 +133,7 @@ extern "C" {
  * @return
  *   F_okay on success.
  *
+ *   F_busy (with error bit) if a lock is busy.
  *   F_parameter (with error bit) if a parameter is invalid.
  *
  *   Errors (with error bit) from: f_memory_array_resize().
@@ -161,6 +164,7 @@ extern "C" {
  * @return
  *   F_okay on success.
  *
+ *   F_busy (with error bit) if a lock is busy.
  *   F_parameter (with error bit) if a parameter is invalid.
  *
  *   Errors (with error bit) from: f_memory_array_adjust().
index 094a48cbda685f41bd87e6bab718a42a64f2521e..06efddeda29164eb5e294df02d8370d4ee95d245 100644 (file)
@@ -85,12 +85,15 @@ extern "C" {
  * @return
  *   F_okay on success.
  *
+ *   F_busy (with error bit) if a mutex is busy.
  *   F_parameter (with error bit) if a parameter is invalid.
  *
  *   Errors (with error bit) from: f_memory_array_resize().
  *
  * @see f_memory_array_resize()
  * @see f_memory_arrays_resize()
+ *
+ * @see pthread_mutex_destroy()
  */
 #ifndef _di_f_thread_mutexs_delete_callback_
   extern f_status_t f_thread_mutexs_delete_callback(const f_number_unsigned_t start, const f_number_unsigned_t stop, void * const array);
@@ -115,12 +118,15 @@ extern "C" {
  * @return
  *   F_okay on success.
  *
+ *   F_busy (with error bit) if a mutex is busy.
  *   F_parameter (with error bit) if a parameter is invalid.
  *
  *   Errors (with error bit) from: f_memory_array_adjust().
  *
  * @see f_memory_array_adjust()
  * @see f_memory_arrays_adjust()
+ *
+ * @see pthread_mutex_destroy()
  */
 #ifndef _di_f_thread_mutexs_destroy_callback_
   extern f_status_t f_thread_mutexs_destroy_callback(const f_number_unsigned_t start, const f_number_unsigned_t stop, void * const array);
@@ -145,12 +151,15 @@ extern "C" {
  * @return
  *   F_okay on success.
  *
+ *   F_busy (with error bit) if a mutex is busy.
  *   F_parameter (with error bit) if a parameter is invalid.
  *
  *   Errors (with error bit) from: f_memory_array_resize().
  *
  * @see f_memory_array_resize()
  * @see f_memory_arrays_resize()
+ *
+ * @see pthread_mutex_destroy()
  */
 #ifndef _di_f_thread_mutexss_delete_callback_
   extern f_status_t f_thread_mutexss_delete_callback(const f_number_unsigned_t start, const f_number_unsigned_t stop, void * const array);
@@ -175,12 +184,15 @@ extern "C" {
  * @return
  *   F_okay on success.
  *
+ *   F_busy (with error bit) if a mutex is busy.
  *   F_parameter (with error bit) if a parameter is invalid.
  *
  *   Errors (with error bit) from: f_memory_array_adjust().
  *
  * @see f_memory_array_adjust()
  * @see f_memory_arrays_adjust()
+ *
+ * @see pthread_mutex_destroy()
  */
 #ifndef _di_f_thread_mutexss_destroy_callback_
   extern f_status_t f_thread_mutexss_destroy_callback(const f_number_unsigned_t start, const f_number_unsigned_t stop, void * const array);