[#61424] [REJECT?] xmalloc/xfree: reduce atomic ops w/ thread-locals — Eric Wong <normalperson@...>

I'm unsure about this. I _hate_ the extra branches this adds;

13 messages 2014/03/12

[ruby-core:61712] Re: [ruby-trunk - Bug #9606] Ocassional SIGSEGV inTestException#test_machine_stackoverflow on OpenBSD

From: Eric Wong <normalperson@...>
Date: 2014-03-27 05:15:12 UTC
List: ruby-core #61712
kosaki: any ideas for the lack of guard page for the main thread?

I have one idea, but I hate it: run timer thread function in the main
thread and have all normal Ruby code in pthread_create-ed threads.

However, long term, I will try to remove the timer thread and GVL
w/o slowing single-thread case.

In This Thread

Prev Next