Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rt-preempt, posix: be more assertive when exiting a HAL thread
previously, a HAL thread doing a blocking system call (read, poll etc) would fail to terminate on hal_delete_thread() as pthread_join() alone does not terminate any pending system calls. The pthread_cancel() achieves this effect. In theory this should remove any RT shutdown hangs when using posix/rt-preempt see also the discussion at: machinekit/mksocfpga#45 (comment)
- Loading branch information