Artifacts Associated With Ticket 612513ffffffffff
Ticket change [7388fd375c] (rid 105054) by elfring on 2002-09-21 14:45:09:
- assignee initialized to: "vasiljevic"
- cmimetype initialized to: "text/plain"
- comment initialized to:
I've read under "http://java.sun.com/j2se/1.4.1/changes.html#vm" about a utility that can detect deadlocks with the programming language "Java". (Example listing: http://java.sun.com/j2se/1.4.1/sample-output.html) Can a similar tool be offered for the programming language "TCL"?
- foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "elfring"
- subsystem initialized to: "80. Thread Package"
- title initialized to: "Detect deadlocks with TCL"
- type initialized to: "RFE"
Ticket change [f807ce79a5] (rid 91472) by elfring on 2002-09-21 22:18:15:
- icomment:
Logged In: YES user_id=572001 This tool will need some functions in the thread interface to query the dependencies between the running or waiting threads. A helpful function would be to return a list of identifiers for deadlocked threads. I suggest to offer the function "thread::is_deadlocked id", too.
- login: "elfring"
- mimetype: "text/plain"
- username: "elfring"
- icomment:
Ticket change [c9c2735e67] (rid 122343) by elfring on 2002-12-28 18:39:52:
- icomment:
Logged In: YES user_id=572001 The solution will be somewhere in the lock APIs. (http://docs.sun.com/db/doc/806-6867/6jfpgdcml?a=view)
- login: "elfring"
- mimetype: "text/plain"
- username: "elfring"
- icomment:
Ticket change [c8b38e334c] (rid 122150) by vasiljevic on 2002-12-29 01:40:12:
- icomment:
Logged In: YES user_id=95086 Detecting deadlock may be done be wrapping the mutex API i.e. providing your own set of mutex operations. This would, however, slow down the application. I might put this into the TIP I'm preparing about the Tcl threading API. This may be then conditionaly compiled for debugging purposes.
- login: "vasiljevic"
- mimetype: "text/plain"
- username: "vasiljevic"
- icomment:
Ticket change [e3466e93de] (rid 87767) by elfring on 2002-12-29 04:58:23:
- icomment:
Logged In: YES user_id=572001 Damned - The pthread interface does not offer any function to query the thread and lock usage. 1. I am wondering now why this was not introduced into POSIX 1003.1c after this standard was available for so many years. 2. I'm curious for your TIP. I hope that the TCL community will find an other function library to retrieve the requested information.
- login: "elfring"
- mimetype: "text/plain"
- username: "elfring"
- icomment:
Ticket change [9b0703619c] (rid 111054) by elfring on 2002-12-29 06:53:46:
- icomment:
Logged In: YES user_id=572001 3. Is there anything different with "Java-platform-level deadlocks" compared to "Tcl-platform-level deadlocks"? What are the internal programming interfaces?
- login: "elfring"
- mimetype: "text/plain"
- username: "elfring"
- icomment:
Ticket change [d5aded255d] (rid 123666) by elfring on 2002-12-29 19:18:02:
- icomment:
Logged In: YES user_id=572001 4. Another solution: A detection is not needed if a system was created deadlock free. (http://groups.google.com/groups?dq=&start=150&hl=de&lr=&ie=UTF- 8&group=comp.hypercube&selm=302%40hubcap.UUCP)
- login: "elfring"
- mimetype: "text/plain"
- username: "elfring"
- icomment:
Ticket change [cd73eb6b7e] (rid 95893) by elfring on 2002-12-30 06:07:11:
- icomment:
Logged In: YES user_id=572001 I've posted an article about the topic to some newsgroups.
- login: "elfring"
- mimetype: "text/plain"
- username: "elfring"
- icomment:
Ticket change [c891f99e6b] (rid 122124) by elfring on 2002-12-31 04:27:36:
- icomment:
Logged In: YES user_id=572001 I add some links to helpful information about algorithms and technologies. 4. Can any experiences from "Communicating Sequential Processes" (http://www.cs.ukc.ac.uk/projects/ofa/jcsp/csp- java-model-abstract.html) be applied for TCL? 5. A book (http://groups.google.de/groups?selm=12785%40star.cs.vu.nl&rnum=159) Title: Modern Operating Systems Author: Andrew S. Tanenbaum ISBN: 0-13-588187-0 - login: "elfring"
- mimetype: "text/plain"
- username: "elfring"
- icomment:
Ticket change [3a78d95208] (rid 112567) by elfring on 2003-01-16 16:01:58:
- icomment:
Logged In: YES user_id=572001 http://groups.google.de/groups? group=comp.programming.threads&selm=40ed1d8f.0301150519. 60fc9f36%40posting.google.com
- login: "elfring"
- mimetype: "text/plain"
- username: "elfring"
- icomment:
Ticket change [6d753b850c] (rid 128702) by dkf on 2003-01-21 22:56:41:
- icomment:
Logged In: YES user_id=79902 Would you guys want me to set up a mailing list for discussion of thread-related issues? It'd come with useful things like archiving tools too...
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [91cee0deff] (rid 120680) by elfring on 2003-01-22 03:44:48:
- icomment:
Logged In: YES user_id=572001 Yes. But I would like a newsgroup (interface) more... com.programming.threads.tcl ?
- login: "elfring"
- mimetype: "text/plain"
- username: "elfring"
- icomment:
Ticket change [4dc2afdb8b] (rid 127109) by vasiljevic on 2004-06-20 02:48:12:
- closedate changed to: "2004-06-19T19:48:12"
- closer changed to: "vasiljevic"
- icomment:
Logged In: YES user_id=95086 The deadlock prevention using exclusive mutexes is now handled in the upcomming 2.6 threading extension. Instead of deadlock, the Tcl error is thrown. Also, the deletion of sync promitives in use is also terminated with Tcl error.
- login: "vasiljevic"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "vasiljevic"
Ticket change [e3bcfc4beb] (rid 87850) by elfring on 2004-12-15 02:34:20:
- icomment:
Logged In: YES user_id=572001 Interesting - But the improvement that you describe is just the expected error handling. Can a TCL function be added that will be equivalent or similar to the method "findMonitorDeadlockedThreads" of the "Threading MBean"? Would you like to reuse anything from the article "Using JConsole to Monitor Applications" by Mandy Chung? http://java.sun.com/developer/technicalArticles/J2SE/jconsole.html#DeadlockDetection
- login: "elfring"
- mimetype: "text/plain"
- status changed to: "Open"
- username: "elfring"
- icomment: