From: Eric Wong <normalperson@...>
Date: 2018-07-04T03:13:24+00:00
Subject: [ruby-core:87773] timer thread [was Re: [ruby-alerts:7905] failure alert on trunk-asserts@silicon-docker (NG (r63844))]

> test_all             <main>: warning: pthread_create failed for timer: Resource temporarily unavailable, scheduling broken
> <main>: warning: timer thread stack size: 16384

Many CI failures are caused by pthread_create failing for timer.

I will try using POSIX timers API (timer_create/timer_settime/...)
on such platforms to eliminate timer thread (at least for
single-threaded code).  I'll keep old timer-thread coded path
to make cross-platform testing easier, however.

It will take into consideration waitpid+SIGCHLD along with
"Timeout in VM" <https://bugs.ruby-lang.org/issues/14859>

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>