ThreadTrace

ThreadTrace - Simple but effective command tracer for gathering state of a Tcl interpreter for later replication
Download

ThreadTrace Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Price:
  • FREE
  • Publisher Name:
  • Zoran Vasiljevic
  • Publisher web site:
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 70 KB

ThreadTrace Tags


ThreadTrace Description

ThreadTrace - Simple but effective command tracer for gathering state of a Tcl interpreter for later replication ThreadTrace is a simple but effective command tracer for gathering state of a Tcl interpreter for later replication in other threads by exploiting the Tcl unknown command mechanism.The basic idea is to activate traces on selected Tcl commands. Trace callbacks are responsible for building in-memory store (shared arrays) of traced resources. This store is used to create a short Tcl script which replicates the state in some other Tcl interpreter/thread. Most of the state is not replicated directly, though. Instead, the "unknown" Tcl command is used to replicate the state on-the-fly. In addition to Tcl command traces, user can supply their own tracer implementations in form of Tcl callbacks.Here are some key features of "ThreadTrace":· much lower memory footprint of an MT-application· much faster thread creation· improved interp cleanup (can drop/re-create entire state quickly)· fine control about what gets into interp state and what doesn't· easily extensible to accomodate user-specific setups· implemented in Tcl aloneRequirements:· Tcl threading extension or the AOLserver webserverNOTE: ThreadTrace is licensed and distributed under the terms of the BSD License.


ThreadTrace Related Software