summaryrefslogtreecommitdiff
path: root/emu/port/kproc-pthreads.c
AgeCommit message (Collapse)Author
2019-12-19G/c misguided NetBSD/powerpc kludge.Valery Ushakov
The problem was the alignment bug (alloc.c) that I thought I had fixed, but did't. Now that that bug is fixed properly drop the bogus kludge I left here while investigating the problem.
2019-03-09Work around a problem on macppc with kernel semaphores.Valery Ushakov
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.
2017-09-10Switch NetBSD from clone(2) to kproc-pthreads.cValery Ushakov
This commit is mostly a pretty mechanical change. It works on NetBSD-6 where pthread uses userland semaphores. It doesn't work on NetBSD-7 where pthread uses kernel semaphores.
2014-05-18revert to 626 to undo unintended pushCharles Forsyth
2014-05-1820140518-1419charles forsyth
2011-06-1920110619-2343forsyth
2011-03-0120110301-1941forsyth