Changes between Initial Version and Version 1 of Ticket #106, comment 7
- Timestamp:
- Jan 31, 2014, 5:02:26 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #106, comment 7
initial v1 1 1 As I pointed out in https://github.com/bitwiseworks/mozilla-os2/issues/43#issuecomment-33723670, we have another crash that seems to be somehow related to the crash in `FILT.DLL`. 2 2 3 I guess I know what is going on here. `NPFLOS2.DLL` uses the following (default) DLL module flags: `INITGLOBAL /SINGLE/SHARED`. As a result, the DLL init routine is called only once and there is a single copy of the data segment shared among all processes.3 I guess I know what is going on here. `NPFLOS2.DLL` uses the following (default) DLL module flags: `INITGLOBAL, DATA SINGLE SHARED`. As a result, the DLL init routine is called only once and there is a single copy of the data segment shared among all processes. 4 4 5 5 In turn, the wrapper adds its own level of indirection to the plugin DLL entry points: the exported ones (including `NP_GetEntryPoints`) do not do any work on their own, they just forward calls to members of the global `NPODINWRAPPER` structure ('gPlugin` variable). This structure is initialized with the real worker functions in the `DLL_InitTerm()` function when the DLL is loaded for the first time.