[#88925] [Ruby trunk Feature#15095] [PATCH] share VM stack between threads and fibers if identical — ko1@...
Issue #15095 has been updated by ko1 (Koichi Sasada).
4 messages
2018/09/09
[#88927] Re: [Ruby trunk Feature#15095] [PATCH] share VM stack between threads and fibers if identical
— Eric Wong <normalperson@...>
2018/09/09
ko1@atdot.net wrote:
[#88926] [Ruby trunk Feature#15095] [PATCH] share VM stack between threads and fibers if identical — ko1@...
Issue #15095 has been updated by ko1 (Koichi Sasada).
3 messages
2018/09/09
[#89218] [Ruby trunk Bug#15130] open-uri hangs on cygwin — duerst@...
Issue #15130 has been updated by duerst (Martin D端rst).
5 messages
2018/09/30
[ruby-core:88844] [Ruby trunk Bug#15072] thread.c:4356:5: error: implicit declaration of function ‘ubf_list_atfork’
From:
duerst@...
Date:
2018-09-05 03:01:43 UTC
List:
ruby-core #88844
Issue #15072 has been reported by duerst (Martin Dürst).
----------------------------------------
Bug #15072: thread.c:4356:5: error: implicit declaration of function ‘ubf_list_atfork’
https://bugs.ruby-lang.org/issues/15072
* Author: duerst (Martin Dürst)
* Status: Open
* Priority: Normal
* Assignee: normalperson (Eric Wong)
* Target version:
* ruby -v: ruby 2.6.0dev (2018-08-01 trunk 64156) [x86_64-cygwin]
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
When compiling on cygwin, I get the following error:
```
compiling thread.c
thread.c: In function ‘rb_thread_atfork_internal’:
thread.c:4356:5: error: implicit declaration of function ‘ubf_list_atfork’ [-Werror=implicit-function-declaration]
ubf_list_atfork();
^~~~~~~~~~~~~~~
```
The `ubf_list_atfork` function was introduced by issue #15013 in r64485.
The problem is that the function is defined *as static* in thread_pthread.c, but is used in thread.c. Not being an expert on threads, I thought that maybe `ubf_list_atfork` is a function that's available on some OSes, but that can't be the case. I only got empty results when searching for it.
There's also a macro for `ubf_list_atfork` in thread_win32.c, but that doesn't seem to be related here.
[below it says my Ruby version is trunk 64156, but I'm compiling on HEAD.]
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>