Changes between Initial Version and Version 1 of Ticket #106, comment 7


Ignore:
Timestamp:
Jan 31, 2014, 5:02:26 PM (11 years ago)
Author:
dmik

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #106, comment 7

    initial v1  
    11As 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`.
    22
    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.
     3I 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.
    44
    55In 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.