mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-15 01:23:49 +01:00
The mutex used to sync the reader and writer of the pipe is initialized as unlocked. This results in a bit of wasted CPU cycles the first time a read blocks. This patch inits the mutex in a locked state so that the first blocking read blocks immediately.