Re: starkit-lite and threads: can't package require
Uwe Koloska <[email protected]> Tue, 17 Jul 2007 01:41:24 +0200
| Newsgroups | gmane.comp.lang.tcl.starkit |
|---|---|
| Message-ID | <[email protected]> |
Hello, Am Montag, 16. Juli 2007 schrieb Pat Thoyts: > There are some issues still with the initial startup code. Its been a > while but if I remember correctly I found the internal packages were > not always available in slave interpreters and this is likely the same > in thread interpreters. I currently use a modified kitInit.c as > attached. This drops the preInitScript in favour of using the full > appInit script as was done in the old tclkits. Possibly this will help > you -- seems to work ok for me. Yes, this works. At least the internal packages are available. But the vfs is still not mounted (I think this is due to the thread safety problem). A simple package require starkit starkit::startup doesn't mount the vfs (or at least not with the same path). How can I load packages from the vfs inside the thread? The threadvfs proc from the earlier mentioned thread doesn't work anymore. Thank you for any help Uwe Koloska