Bug 20891 – Android GC signals set inappropriately

Status
NEW
Severity
minor
Priority
P3
Component
druntime
Product
D
Version
D2
Platform
All
OS
Other
Creation time
2020-06-01T20:17:08Z
Last change time
2024-12-07T13:40:18Z
Assigned to
No Owner
Creator
Richard (Rikki) Andrew Cattermole
Moved to GitHub: dmd#17404 →

Comments

Comment #0 by alphaglosined — 2020-06-01T20:17:08Z
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
Comment #1 by robert.schadek — 2024-12-07T13:40:18Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17404 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB