]> Kevux Git Server - fll/commit
Bugfix: Problems exposed by f_thread unit tests.
authorKevin Day <thekevinday@gmail.com>
Fri, 1 Jul 2022 05:32:38 +0000 (00:32 -0500)
committerKevin Day <thekevinday@gmail.com>
Fri, 1 Jul 2022 05:32:38 +0000 (00:32 -0500)
commit5fec9aeb9e63386b829fe924548904366fcffb81
treed9a6e1a641d229590bb7b605f2d731c5a777e526
parenta2ce6ea2f63e396142eb124b7cfb76a94b473fa0
Bugfix: Problems exposed by f_thread unit tests.

Notable fixes:
- Rename f_thread_semaphore_file_create() to f_thread_semaphore_file_open().
- Rename f_thread_semaphore_file_delete() to f_thread_semaphore_file_close().
- Rename f_thread_semaphore_file_destroy() to f_thread_semaphore_file_delete().
- Have f_thread_semaphore_file_open() accept a double pointer for semaphore because sem_open() returns a pointer.
- Initializer f_thread_semaphore_t_initialize is on a union which is initialized differently from a normal digit.
level_0/f_thread/c/thread.c
level_0/f_thread/c/thread.h
level_0/f_thread/c/thread/semaphore.h