[Gc] Error in NetBSD code for 7.1alpha2

Lothar Scholz scholz at scriptolutions.com
Sun Feb 17 20:50:41 PST 2008


Hello,

There is a small bug in "pthread_stop_world.c" at the NETBSD code
around line 477:


#   ifdef GC_NETBSD_THREADS_WORKAROUND
      for (i = 0; i < n_live_threads; i++)
        while (0 != (code = sem_wait(&GC_restart_ack_sem)))
            if (errno != EINTR) {
                GC_err_printf1("sem_wait() returned %ld\n",
                               (unsigned long)code);
                ABORT("sem_wait() for restart handler failed");
            }
#    endif



The 'GC_err_printf1' macro is not defined anymore and so a linking
will report an unresolved identifier.


-- 
Best regards,
 Lothar Scholz              mailto:scholz at scriptolutions.com



More information about the Gc mailing list