We need to use pthread mutex for lock.
Committed 261931@main (f24f304431b7): <https://commits.webkit.org/261931@main> Reviewed commits have been landed. Closing PR #11734 and removing active labels.
<rdar://problem/107014336>