[Contents] [TitleIndex] [WordIndex

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



2022-09-08 09:27