www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12328] New: [IMPLEMENTATION] Target::critsecsize should be a runtime or library inferred value

https://d.puremagic.com/issues/show_bug.cgi?id=12328

           Summary: [IMPLEMENTATION] Target::critsecsize should be a
                    runtime or library inferred value
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: ibuclaw ubuntu.com



This target hook is a pain, as there's no way to reasonably determine what this
value should be - isLinux or isLP64 for instance is not enough information
because you could be compiling for a setup that uses an alternate threading
library, or have disabled threading completely.

So I propose that we remove this hook and instead rely on druntime to handle
this feature solely, ideally by providing an alternative library call that
doesn't require a buffer passed to it.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 09 2014