Overview
| Artifact ID: | 6419ee341f3141aa94ecf935d8dfe729a266cbab |
|---|---|
| Ticket: | 674367ffffffffffffffffffffffffffffffffff
call for a function that is not thread safe |
| User & Date: | elfring on 2003-01-27 05:16:24 |
Changes
- icomment:
Logged In: YES user_id=572001 2. Or will the following code example do what I want? set $TID [thread::create -preserved] tsv::set X myMutex [thread::mutex create] thread::send $TID \ { thread::eval -lock [tsv::get X myMutex] {open Test.txt} } File puts $File Hallo close $File thread::mutex destroy [tsv::get X myMutex] thread::release $TID - login: "elfring"
- mimetype: "text/plain"
- username: "elfring"