|| sigdelset(set, SIGQUIT) != 0
|| sigdelset(set, SIGABRT) != 0
|| sigdelset(set, SIGTERM) != 0) {
- ABORT("sigdelset() failed");
+ ABORT("sigdelset failed");
}
# ifdef MPROTECT_VDB
|| sigdelset(set, SIGBUS) != 0
# endif
) {
- ABORT("sigdelset() failed");
+ ABORT("sigdelset failed");
}
# endif
}
# endif
;
if (sigfillset(&act.sa_mask) != 0) {
- ABORT("sigfillset() failed");
+ ABORT("sigfillset failed");
}
# ifdef GC_RTEMS_PTHREADS
if(sigprocmask(SIG_UNBLOCK, &act.sa_mask, NULL) != 0) {
- ABORT("rtems sigprocmask() failed");
+ ABORT("sigprocmask failed");
}
# endif
GC_remove_allowed_signals(&act.sa_mask);
}
/* Initialize suspend_handler_mask. It excludes SIG_THR_RESTART. */
- if (sigfillset(&suspend_handler_mask) != 0) ABORT("sigfillset() failed");
+ if (sigfillset(&suspend_handler_mask) != 0) ABORT("sigfillset failed");
GC_remove_allowed_signals(&suspend_handler_mask);
if (sigdelset(&suspend_handler_mask, SIG_THR_RESTART) != 0)
- ABORT("sigdelset() failed");
+ ABORT("sigdelset failed");
/* Check for GC_RETRY_SIGNALS. */
if (0 != GETENV("GC_RETRY_SIGNALS")) {
TRUE /* isManualReset */,
FALSE /* initialState */,
NULL /* name (A/W) */)) == (HANDLE)0)
- ABORT("CreateEvent() failed");
+ ABORT("CreateEvent failed");
}
# endif
# endif
{
if (WaitForSingleObject(mark_mutex_event, INFINITE) == WAIT_FAILED)
- ABORT("WaitForSingleObject() failed");
+ ABORT("WaitForSingleObject failed");
}
}
# ifdef LOCK_STATS
{
/* wake a waiter */
if (SetEvent(mark_mutex_event) == FALSE)
- ABORT("SetEvent() failed");
+ ABORT("SetEvent failed");
}
}
if (GC_fl_builder_count == 0)
break;
if (ResetEvent(builder_cv) == FALSE)
- ABORT("ResetEvent() failed");
+ ABORT("ResetEvent failed");
GC_release_mark_lock();
if (WaitForSingleObject(builder_cv, INFINITE) == WAIT_FAILED)
- ABORT("WaitForSingleObject() failed");
+ ABORT("WaitForSingleObject failed");
}
GC_release_mark_lock();
}
GC_ASSERT(builder_cv != 0);
GC_ASSERT(GC_fl_builder_count == 0);
if (SetEvent(builder_cv) == FALSE)
- ABORT("SetEvent() failed");
+ ABORT("SetEvent failed");
}
# ifdef DONT_USE_SIGNALANDWAIT
}
if (ResetEvent(event) == FALSE)
- ABORT("ResetEvent() failed");
+ ABORT("ResetEvent failed");
GC_release_mark_lock();
if (WaitForSingleObject(event, INFINITE) == WAIT_FAILED)
- ABORT("WaitForSingleObject() failed");
+ ABORT("WaitForSingleObject failed");
GC_acquire_mark_lock();
}
/* Notify every marker ignoring self (for efficiency). */
if (SetEvent(GC_marker_Id[i] != thread_id ? GC_marker_cv[i] :
mark_cv) == FALSE)
- ABORT("SetEvent() failed");
+ ABORT("SetEvent failed");
}
}
mark_cv /* hObjectToWaitOn */,
INFINITE /* timeout */,
FALSE /* isAlertable */) == WAIT_FAILED)
- ABORT("SignalObjectAndWait() failed");
+ ABORT("SignalObjectAndWait failed");
/* The state of mark_cv is non-signaled here again. */
if (waitcnt > 1) {
GC_ASSERT(GC_mark_mutex_waitcnt != 0);
/* Acquire mark lock */
if (WaitForSingleObject(mark_mutex_event, INFINITE) == WAIT_FAILED)
- ABORT("WaitForSingleObject() failed");
+ ABORT("WaitForSingleObject failed");
GC_ASSERT(GC_mark_lock_holder == NO_THREAD);
# ifdef GC_ASSERTIONS
GC_mark_lock_holder = (unsigned long)GetCurrentThreadId();
{
GC_ASSERT(mark_cv != 0);
if (PulseEvent(mark_cv) == FALSE)
- ABORT("PulseEvent() failed");
+ ABORT("PulseEvent failed");
}
# endif /* !DONT_USE_SIGNALANDWAIT */
FALSE /* initialState */, NULL /* name */);
if (mark_mutex_event == (HANDLE)0 || builder_cv == (HANDLE)0
|| mark_cv == (HANDLE)0)
- ABORT("CreateEvent() failed");
+ ABORT("CreateEvent failed");
# endif
/* Disable true incremental collection, but generational is OK. */
GC_time_limit = GC_TIME_UNLIMITED;