summaryrefslogtreecommitdiff
path: root/thread_pthread.c
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-14 22:06:40 (GMT)
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-14 22:06:40 (GMT)
commit635294038ba5164f86def135993f015eeb6cb548 (patch)
tree690f244145a34722a9fcc715611fb4c0330400db /thread_pthread.c
parent81562d8954e84f007597384bdbbcd4f444b04693 (diff)
Revert "thread_pthread.c: use UBF_TIMER_PTHREAD on Solaris"
This reverts commit 31bfe0fe86433beddfec2b2bdba69dfda1775f8d (r64357) commit 17ed23bb6dfc942a8c51658b01135c3e2807ccf0 (r64359, "fix fragile spec from unpredictable errno") is the correct fix git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_pthread.c')
-rw-r--r--thread_pthread.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/thread_pthread.c b/thread_pthread.c
index 0fbd670..75ce110 100644
--- a/thread_pthread.c
+++ b/thread_pthread.c
@@ -55,12 +55,7 @@
#ifndef UBF_TIMER
# if defined(HAVE_TIMER_SETTIME) && defined(HAVE_TIMER_CREATE) && \
- defined(CLOCK_MONOTONIC) && defined(USE_UBF_LIST) && \
- !defined(__sun)
- /*
- * XXX somebody with Solaris experience should be able to fix this:
- * http://rubyci.s3.amazonaws.com/unstable11s/ruby-trunk/log/20180814T042506Z.fail.html.gz
- */
+ defined(CLOCK_MONOTONIC) && defined(USE_UBF_LIST)
/* preferred */
# define UBF_TIMER UBF_TIMER_POSIX
# elif defined(USE_UBF_LIST)