Skip to content
Commit b68bdf20 authored by Daniel Nejezchleb's avatar Daniel Nejezchleb Committed by Carles Cufí
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 1f22a2bc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment