[DGD] Multithreaded Version
    Par Winzell 
    zell at skotos.net
       
    Fri Mar 21 00:47:57 CET 2003
    
    
  
Ben Chambers wrote:
> So is TLS a feature of the kernel or a feature of DGD?  Does it *HAVE* to be
> implemented as part of the driver object and auto object, or can it be
> safely left out until after the multi-threaded version of DGD has been
> released?  If not, what special considerations does it require to be added
> to the design of a new mudlib?
It's entirely a kernel library functionality. The library intercepts all 
the places a new thread begins and makes a function call with the first 
argument being a small, newly allocated array.
For the rest of the life of that thread, then, that array can be fetched 
with i.e. call_trace()[1][TRACE_FIRSTARG] and its contents modified. No 
driver support is required, apart from the call_trace() kfun of course.
Zell
_________________________________________________________________
List config page:  http://list.imaginary.com/mailman/listinfo/dgd
    
    
More information about the DGD
mailing list