Overview
| Artifact ID: | a04f904bda6e8e170560f8f1bfd8c46d54611b5d |
|---|---|
| Ticket: | 674367ffffffffffffffffffffffffffffffffff
call for a function that is not thread safe |
| User & Date: | vasiljevic on 2003-07-14 01:36:25 |
Changes
- icomment:
Logged In: YES user_id=95086 Your assumption about mutexes is wrong. Mutex handles can be shared among threads since very nature of the mutex is to synchronize access from many threads. So, handles to mutexes created with tnread::mutex create can be left in thread shared arrays and accesed from many threads simultaneously. The thread package contains examples of Tcl code (web server and command server) where sync techniques with mutexes and condition variables are employed. Zoran
- login: "vasiljevic"
- mimetype: "text/plain"
- username: "vasiljevic"