Overview
| Artifact ID: | 2a79d9dc967716bb8647c00c37563d23eda6ce13 |
|---|---|
| Ticket: | 219354ffffffffffffffffffffffffffffffffff
threaded notifier does not work with signals |
| User & Date: | das on 2009-06-29 23:54:24 |
Changes
- closedate changed to: "2009-06-29T16:54:24"
- closer changed to: "das"
- icomment:
allow_comments - 1 AFAICT this can be closed as out of date, Tcl_AsyncMark() handles waking up the correct thread nowadays. Specifically, TclX_SignalInit() calls Tcl_AsyncCreate(ProcessSignals, NULL) for the first interp it is loaded in and installs a signal handler that calls Tcl_AsyncMark() on that async handler. In threaded tcl, Tcl_AsyncMark() calls Tcl_ThreadAlert() which calls Tcl_AlertNotifier() which wakes up the thread that called Tcl_AsyncCreate(), so the notifier thread no longer needs to do anything to ensure the async handler is called when a signal is received.
- login: "das"
- mimetype: "text/plain"
- resolution changed to: "Out of Date"
- status changed to: "Closed"
- username: "das"