TCL Thread

Tcl Global Interpreter


How it works in Scilab 5.0

Global issue

Tcl dedicated thread

Initialization

DaemonOpenTCLsci

startTclLoop

sleepAndSignal

sendTclFileToSlave / sendTclCommandToSlave

getTclCommandReturn / getTclCommandResult


Details on Threading and Communication Process

Sleep And Signal Loop

Main Tcl Loop

How to ask for a File evaluation (TCL_EvalFile)

How to ask for a Command evaluation (TCL_EvalStr)

has already been locked.


Known Drawbacks

Re-entering call issue

SOLUTION: Re-entering call issue


Dead Lock accessing TCL Interpreter

SOLUTION: Dead Lock accessing TCL Interpreter


public: Tcl Thread (last edited 2011-03-30 16:18:21 by localhost)