Overview
| Artifact ID: | 8174079ed6d1a57b1b28688c91aef48a7e31b981 |
|---|---|
| Ticket: | 659131ffffffffffffffffffffffffffffffffff
development targets: Complete pthreads? |
| User & Date: | vasiljevic on 2003-11-19 22:30:44 |
Changes
- icomment:
Logged In: YES user_id=95086 I understand. The thing is that we already have a good API and we might improve on that by adding more goodies (reader-writer locks for example). But I doubt that by fully implementing whatever API we will attract more people. I think we will attract more people if things become simpler to use. Threads are already complicated enough, per-se. This is where I want to expand. Therefore, I did threadpools. Now I'm thinking abut simpler cross-thread interp syncing and tsv variable traces (more to come). I will add the reader-writer locks (yes, they are already in AOLserver) to the threading extension, plus support for lset and new dictionary datatype. This will all give you more tools in your toolbox. I have numerous other plans, but one after another :) As far as underlying OS-API is concerned, the Win threads are in some respect superior to Posix. Tcl has already using Win threads, so I see no benefit. The Tcl thread API isolates you from the OS one and it does this pretty good. It can be improved though which is, as I understand, the topic of our discussion. As for the Tcl object system, I'm thinking about possibilities to introduce locking structs in Tcl objects so they can be optionally shared across threads (which is not the case now). This is however far-reaching backwardly incompatible change which won't see the light of day before 9.0 release or such.
- login: "vasiljevic"
- mimetype: "text/plain"
- username: "vasiljevic"