aboutsummaryrefslogtreecommitdiffstats
path: root/thread_pthread.c
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-14 22:06:40 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-14 22:06:40 +0000
commita69d444dfae563e508e84eb356e36016587a8043 (patch)
tree690f244145a34722a9fcc715611fb4c0330400db /thread_pthread.c
parentfc9b541f1ef3aa3fa129e4d1b4a53feb357922e3 (diff)
downloadruby-a69d444dfae563e508e84eb356e36016587a8043.tar.gz
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 0fbd670c38..75ce110063 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)