Skip to content
Snippets Groups Projects
Commit 7a601300 authored by Carlos Pizano's avatar Carlos Pizano Committed by CQ bot account: commit-bot@chromium.org
Browse files

[zircon] fix to semaphore

In my original impl I somehow only test for kill signal any other
signal will leave |count_| unbalanced and would cause threads to
get stuck in ports even if a packet was posted.

thanks to dje@ who found this bug.

TEST: new kernel test added "k ut semaphore". This also runs
in the bots in the "ut all" set.

ZX-3284 #comment done

Change-Id: Ica2395f37776e331a8a0da62b4a7170e60b39582
parent 2a2cd9f3
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment