Skip to content
Tcl Source Code History Of Ticket 6ff44a29ce
Login

History Of Ticket 6ff44a29ce

Artifacts Associated With Ticket 6ff44a29ce

  1. Ticket change [66151a021b] (rid 171272) by elfring on 2019-05-03 12:17:04:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      I find the direct support for thread shared variables generally nice.
      I would appreciate to get notified for changes in selected TCL variables.
      How do you think about a collaboration of their internal locking with condition variables?
      
    5. foundin initialized to: "8.6"
    6. is_private initialized to: "0"
    7. login: "elfring"
    8. priority initialized to: "5 Medium"
    9. resolution initialized to: "None"
    10. severity initialized to: "Minor"
    11. status initialized to: "Open"
    12. submitter initialized to: "elfring"
    13. subsystem initialized to: "49. Threading"
    14. title initialized to:
      Support change notifications for thread shared variables
      
    15. type initialized to: "RFE"
  2. Ticket change [72c4b494a8] (rid 171273) by dgp on 2019-05-03 13:38:42:

    1. icomment:
      
      Can you explain why variable write traces are not what you seek?
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  3. Ticket change [da9f3f1ec1] (rid 171356) by elfring on 2019-05-05 05:45:44:

    1. icomment:
      The standard functionality from the TCL command “trace” can generally be nice.
      But I suggest to take consequences from multi-threaded data processsing better into account.
      
      It can happen that a thread would like to wait on a status change in the running software.
      The TCL command “thread::cond wait” (and the function “Tcl_ConditionWait”) is an appropriate programming interface for this purpose.
      https://www.tcl.tk/man/tcl/ThreadCmd/thread.htm#M42
      https://tcl.tk/man/tcl8.7/TclLib/Thread.htm
      
      The thread which will change shared resources would occasionally like to notify companions by using the corresponding condition variable.
      https://en.wikipedia.org/wiki/Monitor_(synchronization)#Condition_variables
      
    2. login: "elfring"
    3. mimetype: "text/plain"
  4. Ticket change [208f793811] (rid 171367) by elfring on 2019-05-06 13:21:52:

    1. icomment:
      See also:
      https://core.tcl-lang.org/thread/tktview/e7bcc945210ae351693ad9d526308b3d40bd645a
      
    2. login: "elfring"
    3. mimetype: "text/plain"