summaryrefslogtreecommitdiff
path: root/utils/nwztools
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2017-02-02 16:06:25 -0500
committerMichael Sevakis <jethead71@rockbox.org>2017-02-02 23:51:55 -0500
commit4d4b0c5a07c907efda20771fa6baca6f1c91802e (patch)
tree2cd423f2ec337e3828e3af3de5157c3c500ceb2d /utils/nwztools
parent1fa7c5635184e3a8c16b696a658c027fcc0862d8 (diff)
downloadrockbox-4d4b0c5a07c907efda20771fa6baca6f1c91802e.tar.gz
rockbox-4d4b0c5a07c907efda20771fa6baca6f1c91802e.zip
In queue_wait_w_tmo, guarantee wait duration
It is possible to have a thread awoken and subsequently the message that was placed in the queue has been removed by the time the thread is able to check the queue. Ensure theads that failed to find a message do not return prematurely. It was at worst imprecise when a timeout is specified. It's entirely incorrect if the function ever returns with SYS_TIMEOUT when using TIMEOUT_BLOCK. Change-Id: Ibd41eae8c787adf7a320a24603cf64ff8a6da66a
Diffstat (limited to 'utils/nwztools')
0 files changed, 0 insertions, 0 deletions