Re: starkit, Thread, source, vfs
- From: Jeff Hobbs <jeffh@xxxxxxxxxxxxxxx>
- Date: Sun, 29 Oct 2006 10:11:05 -0800
Krys wrote:
I have a problem with Starpack. I create a starkit, which has:
3 files
1th files - create 3 threads and source 2-nd file
2-nd file - sources a 50 files
Each threads(with main program) source 2-nd file and call function form
2-nd file.
My application crash few seconds after start - System Error
(Windows), breach memory (Linux). This is not repeatability wrong.
This application is correct, if i run in standard tcl (no tclkit).
I try use: my tclkit, dqkit, basekit (ActiveState) [multithreading]
I think problem is source files in child Thread, but I don't sure...
My question
Is Metakit thread-safety ?
Is VFS thread-safety ?
The answer to the last is no. Tcl's core vfs is, but tclvfs was most certainly not, which is the basis for starkits. I have corrected this and the next release of ActiveTcl with basekits should work fine for you.
--
Jeff Hobbs, The Tcl Guy, http://www.activestate.com/
.
- Follow-Ups:
- Re: starkit, Thread, source, vfs
- From: Krys
- Re: starkit, Thread, source, vfs
- References:
- starkit, Thread, source, vfs
- From: Krys
- starkit, Thread, source, vfs
- Prev by Date: Re: write binary file with struct in tcl
- Next by Date: Re: Tcl_PanicVA
- Previous by thread: Re: starkit, Thread, source, vfs
- Next by thread: Re: starkit, Thread, source, vfs
- Index(es):