starkit-lite and threads: can't package require

Uwe Koloska <[email protected]> Thu, 12 Jul 2007 13:55:05 +0200
Newsgroups gmane.comp.lang.tcl.starkit
Organization voice INTER connect GmbH
Message-ID <[email protected]>
Hello,

the current tclkit-lite builds (by means of kbs) cannot load any packages 
inside a thread.

1. the auto_path is not promoted, but I think this is intentional
2. the vfs-filesystem is not known inside the thread
3. the pkgIndex.tcl files alongside the auto_path dirs are not loaded inside 
the thread

My first workaround for 3. with an unpackaged vfs was to explicitly load the 
required pkgIndex.tcl (for I only use one package inside the thread). But 
this doesn't work in the starkit nor in a starpack.

I vaguely remember some discussion, but don't remember where and with what 
subject, that the initialization code for interpreters is flawed in 
tclkit-lite.  Is there a fix or someone working at it?  Where do I have to 
start, to make a fix myself?

Sincerly
Uwe Koloska

-- 
Dipl.-Ing. Uwe Koloska

voice INTER connect GmbH           Tel +351 481 088 3
Ammonstraße 35                     Fax +351 438 399 25
01067 Dresden - Germany            www.voiceinterconnect.de