Commit 85d56c30 authored by Ian Lance Taylor's avatar Ian Lance Taylor
Browse files

runtime: use dispatch semaphores on Darwin

Changes Darwin semaphore support from using pthread mutexes and
condition variables to using dispatch semaphores. Signaling a dispatch
semaphore is async-signal-safe.

Fixes #31264

Change-Id: If0ce47623501db13e3804b14ace5f4d8eaef461e
Reviewed-on: https://go-review.googlesource.com/c/go/+/182258


Reviewed-by: default avatarElias Naur <mail@eliasnaur.com>
Reviewed-by: default avatarKeith Randall <khr@golang.org>
parent f18aeb3a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment