How to synchronize FileAccess between different Threads
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

How to synchronize FileAccess between different Threads

From: Martin Grossenbacher <martin.grossenbacher@nospam.ch>
Date: Mon Feb 27 2006 - 17:12:07 CET

Hello

I have java and c# background but not much experience with structual
programming.

In a tcl-programm i have different threads who can read and write
from/to one file. As i saw, theres no synchronzized-Keyword in tcl to
make some codeblocks synchronized.

Do i have to implement the synchronisation myself or are there any
extensions to tcl which provide what i am looking for?

I think that only write-Access have to be synchronized, is that right?

thx for help
Received on Sun Apr 30 02:16:58 2006