| Age | Commit message (Collapse) | Author |
|
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.
|
|
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.
|
|
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.
|
|
|
|
|
|
|
|
|