PTH_FUNC(int, semaZutimedwait, sem_t *sem, const struct timespec* abs_timeout) { /* sema_timedwait */
return sem_timedwait_WRK(sem, abs_timeout);
}
+#if defined(__illumos__)
+PTH_FUNC(int, semZutimedwait, sem_t *sem, const struct timespec* abs_timeout) { /* sem_timedwait */
+ return sem_timedwait_WRK(sem, abs_timeout);
+}
+#endif
#else
# error "Unsupported OS"
#endif
if (! /: pthread_/ && ! /WRK/) {
s/($check)(.*hg_intercepts.c)/$regex{$1}$2/g;
}
+
+# this is for free_is_write on Illumos
+# on other platforms a 10 byte alloc results in a 16 byte arena
+# on Illumos there are many other allocations resulting in a
+# 4Mbyte arena
+s/4,194,208 in arena/16 in arena/;
<signame>SIGABRT</signame>
<sicode>0</sicode>
<stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>_start_crt</fn>
+ </frame>
<frame>
<ip>0x........</ip>
<obj>...</obj>
fun:gomp_team_start
fun:GOMP_parallel
}
+# conflict between printf and _setorientation on data symbol "_iob"
+{
+ Illumos:printf
+ Helgrind:Race
+ fun:printf
+}
+# conflict between pthread_barrier_init and pthread_barrier_wait
+{
+ Illumos:pthread_barrier_init
+ Helgrind:Race
+ fun:pthread_barrier_init
+}
+# conflict between pthread_barrier_destroy and pthread_barrier_wait
+{
+ Illumos:pthread_barrier_destroy
+ Helgrind:Race
+ fun:memset
+ fun:pthread_barrier_destroy
+ fun:pthread_barrier_destroy
+}