Artifacts Associated With Ticket 6ff44a29ce
Ticket change [66151a021b] (rid 171272) by elfring on 2019-05-03 12:17:04:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- 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?
- foundin initialized to: "8.6"
- is_private initialized to: "0"
- login: "elfring"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "elfring"
- subsystem initialized to: "49. Threading"
- title initialized to:
Support change notifications for thread shared variables
- type initialized to: "RFE"
Ticket change [72c4b494a8] (rid 171273) by dgp on 2019-05-03 13:38:42:
- icomment:
Can you explain why variable write traces are not what you seek?
- login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [da9f3f1ec1] (rid 171356) by elfring on 2019-05-05 05:45:44:
- 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
- login: "elfring"
- mimetype: "text/plain"
- icomment:
Ticket change [208f793811] (rid 171367) by elfring on 2019-05-06 13:21:52:
- icomment:
See also: https://core.tcl-lang.org/thread/tktview/e7bcc945210ae351693ad9d526308b3d40bd645a
- login: "elfring"
- mimetype: "text/plain"
- icomment: