[Issue 4071] New: Missing support to share memory and objects between DLLs and executable

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Apr 7 11:35:32 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=4071

           Summary: Missing support to share memory and objects between
                    DLLs and executable
           Product: D
           Version: unspecified
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: druntime
        AssignedTo: sean at invisibleduck.org
        ReportedBy: r.sagitario at gmx.de


--- Comment #0 from Rainer Schuetze <r.sagitario at gmx.de> 2010-04-07 11:35:29 PDT ---
Sharing gc-allocated or c-runtime-allocated memory, files, threads and other
objects between different D-DLLs and the D-executable can be desirable,
especially when working in a larger environment with dynamically loaded DLLs.

The current support for this is very limited, supplying a proxy for the GC, but
its implementation is incomplete, e.g. with respect to TLS memory and new
threads.

The following comments will show an implementation of a phobos.dll that can be
accessed by a number of DLLs and the executable to create objects than can be
shared freely. It also allows the usage of a single GC.

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


More information about the Digitalmars-d-bugs mailing list