Overview
| Artifact ID: | d8fb006dc3f0abb1177720fc9695c97cc5f73f40 |
|---|---|
| Ticket: | 577014ffffffffffffffffffffffffffffffffff
documentation; wait on thread exits |
| User & Date: | elfring on 2002-07-23 20:54:06 |
Changes
- icomment:
Logged In: YES user_id=572001 1. I would say: This is still missing. 6. The parameter lists are missing after all tsv and some thread function names, too. (http://cvs.sourceforge.net/cgi- bin/viewcvs.cgi/*checkout*/tcl/thread/doc/html/thread.html?rev=1.3) The parameters for a few thread functions are displayed in an italic font. 7.1 I miss a separate description for the function "vwait". It is referenced at severall places in the file "thread.html". Are going to add an documentation entry "thread::vwait"? 7.2 Must a "vwait" as often be called as a thread will store the execution result in the specified variable? Did you call it twice in your example because you created two threads with the same variable "result"? 8. What will happen in a "thread::send" if an error occurs or the TCL function "return" is called before the execution result is stored in the specified variable? 9. I would like to get additional infomation about the thread usage by the library. 9.1.1 thread::mutex names This should do the same for mutexes as "thread::names" does for threads. 9.1.2 thread::mutex is_locked Query the state of a single mutex or a list of mutexes. 9.1.3 thread::mutex locked Get a list of mutex IDs that are used by locked threads. 9.1.4 thread::mutex locked_threads Get a list of thread IDs that are locked at the moment. 9.2.1 thread::cond names This should do the same for condition variable as "thread::names" does for threads. 9.2.1 thread::cond waiting Get a list of thread IDs that are waiting on condition variables. The list should be configurable to limit the size of the returned data. 9.2.2 thread::cond is_waiting Query the state of a condition variable or a list of condition variables. 10. Can you offer pictures that show the depencies of the functions? The sequence for function calls are clear for some of them but not for all. Please show a call order or a workflow. 11. Some functions seem to expect only a single ID. Does it make sense to pass a list of IDs for the functions "preserve", "release", "destroy", "lock", "unlock" or "notify"?
- login: "elfring"
- mimetype: "text/plain"
- username: "elfring"