I seem not to be able to get this right.
This is the plot.
Thanks for your help
-------------
Fred
mailto:[email protected][email protected]</A>
http://www.oxenby.se
[This message has been edited by Fred Oxenby (edited February 26, 2000).]
This is the plot.
Code:
PROGRAM loads an RUNTIME DLL When loaded RUNTIME checks if PROGRAM has an valid INI-file If not PROGRAM will not start. PROGRAM Initialize RUNTIME with diverse GLOBAL assignments. PROGRAM calls a function in WORKER1 DLL WORKER1 starts a new Thread and returns to PROGRAM WORKER1 Thread calls functions in RUNTIME PROGRAM calls a function in WORKER2 DLL WORKER2 starts a new Thread and returns to PROGRAM WORKER2 Thread calls functions in RUNTIME PROGRAM calls a function in WORKER3 DLL WORKER3 starts a new Thread and returns to PROGRAM WORKER3 Thread calls functions in RUNTIME WORKER3 Thread calls a function in WORKER2 witch calls a function in RUNTIME Etcetera... For the record... Globals in RUNTIME is static, ie they are not changed by WORKER(S) [b]The Question:[/b] All this Globals as initialised by PROGRAM are they ALWAYS seen with their [b]initialised value[/b] by any thread in WORKER DLL-s?
-------------
Fred
mailto:[email protected][email protected]</A>
http://www.oxenby.se
[This message has been edited by Fred Oxenby (edited February 26, 2000).]
Comment