Overview
| Artifact ID: | 02732054357289deba34d07dc49b25ccf12c1a07 |
|---|---|
| Ticket: | 502022ffffffffffffffffffffffffffffffffff
Tcl_AsyncMark doesn't awaken the Notifie |
| User & Date: | davethomas on 2002-01-10 20:32:25 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
Tcl Version: 8.3.4 OS :Unix platforms Tcl_AsyncMark doesn't awaken the Notifier (see defect #217934 ) This problem still exists on non-threaded versions of Tcl. Tcl_AlertNotifier does nothing if TCL_THREADS is not defined: void Tcl_AlertNotifier(clientData) ClientData clientData; { #ifdef TCL_THREADS ThreadSpecificData *tsdPtr = (ThreadSpecificData *) clientData; Tcl_MutexLock(¬ifierMutex); tsdPtr->eventReady = 1; Tcl_ConditionNotify(&tsdPtr->waitCV); Tcl_MutexUnlock(¬ifierMutex); #endif } So if Tcl is blocked in a select statement (as in a socket event driven application), events posted to the Tcl event queue via Tcl_AsyncMark don't get handled until an unrelated event kicks Tcl out of the select statement. - foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "davethomas"
- subsystem changed to: "None"
- title changed to: "Tcl_AsyncMark doesn't awaken the Notifie"
- type changed to: "Bug"