macos: Use <dispatch.h> for locking
commitb0b0e48409df359f3be15ba112a89365b10ecd67
authorMichael Matz <matz@suse.de>
Fri, 22 May 2020 03:07:19 +0000 (22 05:07 +0200)
committerMichael Matz <matz@suse.de>
Sat, 20 Jun 2020 20:14:56 +0000 (20 22:14 +0200)
treeb9ac0751b37af63f0590164023b115505f9cbb60
parent57ba50e6111fb6c835c41d49bf80d3ae45184998
macos: Use <dispatch.h> for locking

the global compiler lock can't be a POSIX non-shared semaphore on
Darwin (because not implemented there).  Use the dispatch framework.
libtcc.c