Skip to content
Commit 13571c41 authored by Daniel Nejezchleb's avatar Daniel Nejezchleb Committed by Christopher Friedt
Browse files

lib/os: fdtable: add locking to posix api



Added locking to posix read(), write(), close()
for additional protection.

In read() missing lock would create uneven calls to locking
mechanism in sockets.c after k_condvar_wait().
That results in socket lock not ever being unlocked

Signed-off-by: default avatarDaniel Nejezchleb <dnejezchleb@hwg.cz>
parent 14d87fcb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment