aboutsummaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
authorGuilherme Íscaro <cabelitostos@gmail.com>2021-07-09 17:07:18 -0300
committerGitHub <noreply@github.com>2021-07-09 16:07:18 -0400
commite49ef4f309e631e2ecbeb7ff4397b0b073da681c (patch)
tree35eb27aa81c11dce04f6b4af3b1d58a26b3c4c48 /docs/src
parentb12699b1efabfd241324f4ab6cfd6ce576db491e (diff)
downloadlibuv-e49ef4f309e631e2ecbeb7ff4397b0b073da681c.tar.gz
libuv-e49ef4f309e631e2ecbeb7ff4397b0b073da681c.zip
darwin: fix uv_barrier race condition
Prior to this patch a race condition may occur in case a thread tries to destroy the barrier while other awaiting threads were not notified. Since the internal mutex and condition variables are destroyed this may cause an undefined behavior as described by the man pages. So in order to prevent such scenarios the detroy function will not wait until all awaiting threads are finished before proceeding. Fixes: https://github.com/libuv/libuv/issues/3102 PR-URL: https://github.com/libuv/libuv/pull/3162 Reviewed-By: Jameson Nash <vtjnash@gmail.com>
Diffstat (limited to 'docs/src')
0 files changed, 0 insertions, 0 deletions