2 Aug 2006 18:30
Re: Mac issues
Neil Mitchell <ndmitchell <at> gmail.com>
2006-08-02 16:30:43 GMT
2006-08-02 16:30:43 GMT
Hi >From http://unu.novajo.ca/simple/ Specific comments and pitfalls: 1. The thread function sem_init is not implemented on Darwin whereas the functions sem_open/sem_close is not implemented on Linux. That's why there is some juggling with the initialization of the semaphores in the code. That seems to be the reason its not working, at a point at the correct fix. Thanks Neil On 8/2/06, Neil Mitchell <ndmitchell <at> gmail.com> wrote: > Hi, > > I've been trying to debug the mac ppc, which fails with: > src/runtime/BCKernel/thread.c:126: failed assertion `rval==0' > > The reason is that sem_init returns -1, to indicate error, and an > error number that indicates ENOSYS: The function sem_init() is not > supported by this implementation. > > See http://www.opengroup.org/onlinepubs/007908799/xsh/sem_init.html > for more details. >(Continue reading)
RSS Feed