Skip to content
Commit df5c29d3 authored by Spoorthi K's avatar Spoorthi K Committed by Anas Nashif
Browse files

lib: POSIX: Add check for deadlock in pthread_join



Calling pthread_join() with current thread would lead
to deadlock. Adding check for it and to return
appropriate error code.

Signed-off-by: default avatarSpoorthi K <spoorthi.k@intel.com>
parent 1ec4b689
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment