Overview
| Artifact ID: | b6217f760a189f58f61f20ec684feb9f3b8bb37b |
|---|---|
| Ticket: | 659131ffffffffffffffffffffffffffffffffff
development targets: Complete pthreads? |
| User & Date: | vasiljevic on 2002-12-29 01:29:12 |
Changes
- icomment:
Logged In: YES user_id=95086 1. Basicaly, the threading extension exposes the Tcl API. It does *not* add to the API. Speaking of the API, there are some API corners that need to be improved and I'm working on that. There will be a new TIP on this soon. Yes, all the stuff you've described are ok, but do you really need them on the script level? I think I might wrap the rwlocks, although I'm not really convinced that they are a good thing to use. 3. Sure. 5. You'd need to make your own wrappers arround pthread_mutex and friends and provide a kind of debugging mutex implementation where you track who (which thread) is holding the mutex and be able to kill the process on deadlock attempts. I might be proposing this in the upcomming TIP. The pthread does not do this for you, but you can make one yourself. 6. Nowhere. It is an idiom one uses frequently when entering the event loop forever, like in some server applications, for example. 8. Message passing == script passing. It is basically the same thing. 10. Ok, the doc is little bit terse on that. I might get put it more clear.
- login: "vasiljevic"
- mimetype: "text/plain"
- username: "vasiljevic"