summaryrefslogtreecommitdiff
path: root/libdraw/allocimagemix.c
diff options
context:
space:
mode:
authorValery Ushakov <uwe@stderr.spb.ru>2019-03-09 22:03:59 +0300
committerValery Ushakov <uwe@stderr.spb.ru>2019-03-09 22:03:59 +0300
commit9b7850d511c2c910abfb42ece20650b97fba5a72 (patch)
treeb8d3eff06cb352ade2bddcb4043c1b1762671675 /libdraw/allocimagemix.c
parentcd4ca1116680f235d174415e18ec972c4000fffd (diff)
Work around a problem on macppc with kernel semaphores.
NetBSD/macppc 7 and later seems to have a bug in kernel based pthread semaphores. When running emu interactively shell would forever hang in sem_wait() after the first interactive command. I added sem_getvalue() after sem_init() as a debugging aid to get the semaphore id in ktrace output and it magically fixed the problem. For now just leave it here as a workaround under appropriate ifdef.
Diffstat (limited to 'libdraw/allocimagemix.c')
0 files changed, 0 insertions, 0 deletions