[ruby-core:88329] Re: [Ruby trunk Misc#14937] [PATCH] thread_pthread: lazy-spawn timer-thread only on contention

From: Eric Wong <normalperson@...>
Date: 2018-08-07 19:20:56 UTC
List: ruby-core #88329
> > or I will have to revert and reintroduce timer-thread :<
> 
> reverted for now :< r64203

Btw, using POSIX timers is a solution for this; because
timer_settime(2) is async-signal safe and I can call it
from signal handlers.

(pthreads platforms w/o POSIX timers can use emulation via
 extra thread)

Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread