struct timespec *reltime) {
return pthread_cond_timedwait_WRK(cond, mutex, reltime, ETIME);
}
+ PTH_FUNC(int, pthreadZucondZutimedwait, // pthread_cond_timedwait
+ pthread_cond_t* cond, pthread_mutex_t* mutex,
+ struct timespec* abstime) {
+ return pthread_cond_timedwait_WRK(cond, mutex, abstime, ETIMEDOUT);
+ }
#else
# error "Unsupported OS"
#endif
# error "Unsupported OS"
#endif
-#if defined(VGO_linux)
+#if defined(VGO_linux) || defined(VGO_solaris)
//-----------------------------------------------------------
// glibc: pthread_rwlock_clockrdlock
//
# error "Unsupported OS"
#endif
-#if defined(VGO_linux)
+#if defined(VGO_linux) || defined(VGO_solaris)
//-----------------------------------------------------------
// glibc: pthread_rwlock_clockwrlock
//
# Replace pthread_create with pthread_create@* which is expected on Linux
s/pthread_create \(hg_intercepts.c:/pthread_create@* \(hg_intercepts.c:/g;
+# Illumos uses pthread function names (in some cases?)
+s/pthread_cond_timedwait \(hg_intercepts.c:/pthread_cond_timedwait@* \(hg_intercepts.c:/;
# We need to remove stack frames containing redundant function
# names from libc, for example