From: Eric Wong <normalperson@...>
Date: 2018-07-28T20:32:08+00:00
Subject: [ruby-core:88152] Re: [Ruby trunk Misc#14937] [PATCH] thread_pthread: lazy-spawn timer-thread only on contention

> https://bugs.ruby-lang.org/issues/14937

OK, new patch to eliminate timer-thread completely.  It seems to pass
repeated "make exam" and introduce no regressions.  So far I have found
and fixed two bugs while working on this.

[Bug #14939] lost trap interrupts during ec_switch
[Bug #14945] unregister_ubf_list ordering

And killed a lot of code from thread_pthread.c

Greg: can you test this patch instead?   Thanks.

https://80x24.org/spew/20180728201723.20279-1-e@80x24.org/raw
Also available via git:
```

The following changes since commit 443f4d583c8fe78198bee791f2ac3da0be2dfb5e:

  mjit.c: introduce JIT compaction [experimental] (2018-07-28 16:14:56 +0000)

are available in the Git repository at:

  https://80x24.org/ruby.git tt-designated

for you to fetch changes up to c49e163a5c0a813aa511ecbf92900460e573d2e3:

  thread_pthread: remove timer-thread by restructuring GVL (2018-07-28 20:13:25 +0000)
```

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