[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: MzScheme Special Form -> Native Numerical Code?



>Also, once MzScheme can run dynamically loaded machine code, I could
>more easily extend the system under Windows. There is an issue with
>using Windows DLLs in that all users of a DLL share the same global
>variable space, and so a user runs two MrEd-type sessions using the same
>DLL, there is a potential for conflict (if a global variable is say set
>with a pointer to a VM). For what I've seen of doing MzScheme
>extensions, it appears this may be a problem in the MzScheme case
>(because a VM isn't passed in as a function parameter.) I don't believe
>this is an issue under Unix or the Mac, which I think both load
>extensions into the executeables address space.

Are you sure that all users of a DLL share global variables?
I believe that is true *within* a process, but untrue *between*
processes.

-- Paul