www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 20891] New: Android GC signals set inappropriately


          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 puremagic.com
          Reporter: alphaglosined 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

Jun 01