[Sisc-users] DynamicEnvironment and multi-threaded apps
Brought to you by:
mradestock,
scgmille
From: Dan <gre...@ya...> - 2005-09-26 16:38:19
|
Hi all, I'm new to SISC and having a bit of trouble understanding how the three big pillars of the SISC engine (Interpreter, AppContext, DynEnv) relate. I understand that an AppContext corresponds to a memory image initialized from a heap file. In a multithreaded app, all threads should share the same AppContext (I think). How about Interpreter and DynEnvironment ? Do I need one of each per thread ? Do I create them upon starting each thread and hold on to them, or only "when needed" ? How expensive is Interpreter / DynEnv construction ? Regarding heap files: is there anything magic about the default sisc.shp ? Can I save a heap file and use it when starting SISC ? Thanks! Dan __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com |