1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/coroutine
Lars Kanis 853d91a04a Fix coroutine support on win32
Ruby master branch currently fails on win32 MINGW at this spec:
https://github.com/ruby/spec/blob/master/core/thread/element_set_spec.rb

MINGW makes use of setjmp3() implemented in MSVCRT.DLL.
This function traverses the SEH list up to a terminating pointer 0xFFFFFFFF.
It therefore currently segfaults on NULL.
The SEH linked list must be terminated by 0xFFFFFFFF instead of NULL.

This fixes the issue mentioned here:
  https://github.com/ruby/ruby/pull/2279#issuecomment-509508810
2019-11-05 15:31:21 +09:00
..
amd64 Add ucontext coroutine implementation for generic fallback. 2019-06-26 20:19:53 +12:00
arm32 Make fiber_pool more conservative on platforms with limited address space. 2019-07-18 20:54:55 +12:00
arm64 Add ucontext coroutine implementation for generic fallback. 2019-06-26 20:19:53 +12:00
copy Add assertions to coroutine_initialize_main. 2019-07-19 15:55:34 +12:00
ppc64le Add ucontext coroutine implementation for generic fallback. 2019-06-26 20:19:53 +12:00
ucontext Make fiber_pool more conservative on platforms with limited address space. 2019-07-18 20:54:55 +12:00
win32 Fix coroutine support on win32 2019-11-05 15:31:21 +09:00
win64 Add ucontext coroutine implementation for generic fallback. 2019-06-26 20:19:53 +12:00
x86 Make fiber_pool more conservative on platforms with limited address space. 2019-07-18 20:54:55 +12:00