mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-30 02:11:38 +00:00
Calling mutex_lock from one thread and then mutex_unlock from another is not permitted. Replace the awkward mutex usage with a mutex and condition variable. llvm.org/pr18061 llvm-svn: 205900