Artifacts Associated With Ticket 83116f5e05
Ticket change [c9c056c3d5] (rid 163872) by chw on 2018-06-08 22:40:18:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-wiki"
- 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.
- foundin initialized to: "8.6 and later"
- is_private initialized to: "0"
- login: "chw"
- priority initialized to: "5 Medium"
- private_contact initialized to: "0b3aff16612e1e9f3b675963fa64e01bd1d89307"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "chw"
- subsystem initialized to: "69. Other"
- title initialized to: "Tcl_Async* documentation wrong"
- type initialized to: "Bug"