[Issue 12328] New: [IMPLEMENTATION] Target::critsecsize should be a runtime or library inferred value

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Mar 9 06:00:39 PDT 2014


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 at puremagic.com
        ReportedBy: ibuclaw at ubuntu.com


--- Comment #0 from Iain Buclaw <ibuclaw at ubuntu.com> 2014-03-09 06:00:38 PDT ---
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: -------


More information about the Digitalmars-d-bugs mailing list