Skip to content
Tcl Source Code History Of Ticket 83116f5e05
Login

History Of Ticket 83116f5e05

Artifacts Associated With Ticket 83116f5e05

  1. Ticket change [c9c056c3d5] (rid 163872) by chw on 2018-06-08 22:40:18:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-wiki"
    4. comment initialized to:
      The Async.3 man page states "These procedures provide a safe mechanism for dealing with asynchronous events such as signals."
      
      Signals here mean POSIX signals, i.e. software interrupts delivered by the kernel to a user process/thread.
      
      The statement in the man page is wrong, when the Tcl core is built with TCL_THREADS w.r.t. the function Tcl_AsyncMark(), which needs to acquire at least one mutex using the POSIX function pthread_mutex_lock(), which is not allowed in a signal context.
      
      OTOH, the statement is correct, when the Tcl core is single threaded, since no potentially blocking system call is involved, but a single flag is set.
      
      Thus, additional wording is required, to describe more precisely the working of Tcl_AsyncMark() et.al. in threaded and non-threaded environments.
      
    5. foundin initialized to: "8.6 and later"
    6. is_private initialized to: "0"
    7. login: "chw"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "0b3aff16612e1e9f3b675963fa64e01bd1d89307"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "chw"
    14. subsystem initialized to: "69. Other"
    15. title initialized to: "Tcl_Async* documentation wrong"
    16. type initialized to: "Bug"