[Issue 20891] New: Android GC signals set inappropriately
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jun 1 20:17:08 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=20891
Issue ID: 20891
Summary: Android GC signals set inappropriately
Product: D
Version: D2
Hardware: All
OS: Other
Status: NEW
Severity: minor
Priority: P1
Component: druntime
Assignee: nobody at puremagic.com
Reporter: alphaglosined at gmail.com
During initialization of the runtime, threading will set a couple of signals on
POSIX for handling of suspension and resuming.
On Android it will override whatever signals the end developer may have set.
Because the setting of what signals to use must have been set prior to the
function call and cannot be changed afterwards, overriding the global
pre-existing values (which could be zero or the user specified ones), you are
forced to use whatever druntime chooses interfering with other libraries.
Function in question: thread_init
Function to override (by user): thread_setGCSignals
--
More information about the Digitalmars-d-bugs
mailing list