]> Kevux Git Server - fll/commit
Update: handle POSIX compatibility automatically in f_thread_cancel_state_set().
authorKevin Day <thekevinday@gmail.com>
Sat, 10 Apr 2021 15:32:15 +0000 (10:32 -0500)
committerKevin Day <thekevinday@gmail.com>
Sat, 10 Apr 2021 15:32:15 +0000 (10:32 -0500)
commit3fa1aa7896bd2ad27745291063254050ef61ca03
tree130581983c6547662e27617ccc32cd77fa76a5b5
parent1794318ae07cb61e92d01f119f88adebd49f10d7
Update: handle POSIX compatibility automatically in f_thread_cancel_state_set().

The POSIX standard does not explicitly define that this parameter can be NULL.
To prevent any possible problems, allow NULL but when NULL is received, use a temporary variable in its place.
level_0/f_thread/c/thread.c
level_0/f_thread/c/thread.h