Skip to content
Tcl Source Code History Of Ticket 612513ffffffffff
Login

History Of Ticket 612513ffffffffff

Artifacts Associated With Ticket 612513ffffffffff

  1. Ticket change [7388fd375c] (rid 105054) by elfring on 2002-09-21 14:45:09:

    1. assignee initialized to: "vasiljevic"
    2. cmimetype initialized to: "text/plain"
    3. 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"?
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "elfring"
    9. subsystem initialized to: "80. Thread Package"
    10. title initialized to: "Detect deadlocks with TCL"
    11. type initialized to: "RFE"
  2. Ticket change [f807ce79a5] (rid 91472) by elfring on 2002-09-21 22:18:15:

    1. 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.
      
      
    2. login: "elfring"
    3. mimetype: "text/plain"
    4. username: "elfring"
  3. Ticket change [c9c2735e67] (rid 122343) by elfring on 2002-12-28 18:39:52:

    1. 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)
      
      
    2. login: "elfring"
    3. mimetype: "text/plain"
    4. username: "elfring"
  4. Ticket change [c8b38e334c] (rid 122150) by vasiljevic on 2002-12-29 01:40:12:

    1. 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. 
       
      
      
    2. login: "vasiljevic"
    3. mimetype: "text/plain"
    4. username: "vasiljevic"
  5. Ticket change [e3466e93de] (rid 87767) by elfring on 2002-12-29 04:58:23:

    1. 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.
      
      
    2. login: "elfring"
    3. mimetype: "text/plain"
    4. username: "elfring"
  6. Ticket change [9b0703619c] (rid 111054) by elfring on 2002-12-29 06:53:46:

    1. 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?
      
      
    2. login: "elfring"
    3. mimetype: "text/plain"
    4. username: "elfring"
  7. Ticket change [d5aded255d] (rid 123666) by elfring on 2002-12-29 19:18:02:

    1. 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)
      
      
    2. login: "elfring"
    3. mimetype: "text/plain"
    4. username: "elfring"
  8. Ticket change [cd73eb6b7e] (rid 95893) by elfring on 2002-12-30 06:07:11:

    1. icomment:
      Logged In: YES 
      user_id=572001
      
      I've posted an article about the topic to some newsgroups.
      
      
    2. login: "elfring"
    3. mimetype: "text/plain"
    4. username: "elfring"
  9. Ticket change [c891f99e6b] (rid 122124) by elfring on 2002-12-31 04:27:36:

    1. 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
      
      
    2. login: "elfring"
    3. mimetype: "text/plain"
    4. username: "elfring"
  10. Ticket change [3a78d95208] (rid 112567) by elfring on 2003-01-16 16:01:58:

    1. icomment:
      Logged In: YES 
      user_id=572001
      
      http://groups.google.de/groups?
      group=comp.programming.threads&selm=40ed1d8f.0301150519.
      60fc9f36%40posting.google.com
      
      
    2. login: "elfring"
    3. mimetype: "text/plain"
    4. username: "elfring"
  11. Ticket change [6d753b850c] (rid 128702) by dkf on 2003-01-21 22:56:41:

    1. 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...
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  12. Ticket change [91cee0deff] (rid 120680) by elfring on 2003-01-22 03:44:48:

    1. icomment:
      Logged In: YES 
      user_id=572001
      
      Yes. But I would like a newsgroup (interface) 
      more...
      
      com.programming.threads.tcl ?
      
      
    2. login: "elfring"
    3. mimetype: "text/plain"
    4. username: "elfring"
  13. Ticket change [4dc2afdb8b] (rid 127109) by vasiljevic on 2004-06-20 02:48:12:

    1. closedate changed to: "2004-06-19T19:48:12"
    2. closer changed to: "vasiljevic"
    3. 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.
      
      
      
      
      
    4. login: "vasiljevic"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "vasiljevic"
  14. Ticket change [e3bcfc4beb] (rid 87850) by elfring on 2004-12-15 02:34:20:

    1. 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
      
      
    2. login: "elfring"
    3. mimetype: "text/plain"
    4. status changed to: "Open"
    5. username: "elfring"