ruby-changes:52153
From: normal <ko1@a...>
Date: Wed, 15 Aug 2018 07:06:46 +0900 (JST)
Subject: [ruby-changes:52153] normal:r64361 (trunk): Revert "thread_pthread.c: use UBF_TIMER_PTHREAD on Solaris"
normal 2018-08-15 07:06:40 +0900 (Wed, 15 Aug 2018) New Revision: 64361 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64361 Log: 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 Modified files: trunk/thread_pthread.c Index: thread_pthread.c =================================================================== --- thread_pthread.c (revision 64360) +++ thread_pthread.c (revision 64361) @@ -55,12 +55,7 @@ https://github.com/ruby/ruby/blob/trunk/thread_pthread.c#L55 #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) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/