Tcl package Thread source code

Ticket Change Details
Login
Overview

Artifact ID: cd5c20b0a69d354ea990ac4e3f8db9bbbaa050eaed4395e08cf0f307b33507b1
Ticket: 4b9dc05e4ecc9fda484386a41e58fa480490b6e1
documentaion of thread::send command
User & Date: anonymous 2019-06-20 20:57:34
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    In https://www.tcl.tk/man/tcl8.6/ThreadCmd/thread.htm,
    there seems to be a small formatting glitch in the example provided for thread::send command.
    
    In my browser it's rendered like this :
    
    set t1 [thread::create]
        set t2 [thread::create]
        thread::send -async $t1 "set a 1" result
        thread::send -async $t2 "set b 2" result
        for {set i 0} {$i < 2} {incr i} {
            vwait result
        }
    
    I suppose the indentation below the first line isn't intended
    (and may produce a false reasoning if the lack of "{" isn't noticed at the end of the first line (for bad eyes...)
    
    Thank you
    
  5. foundin changed to: "8.6.9"
  6. is_private changed to: "0"
  7. login: "anonymous"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "ce0e7e9d5292991e390bcdefffa2ac7b77c4800a"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "anonymous"
  14. subsystem changed to: "80. Thread Package"
  15. type changed to: "Patch"