|
2002-12-11
| ||
| 09:05 | • Ticket [502022ffff] Tcl_AsyncMark doesn't awaken the Notifie status stil... artifact: 816f165a15 user: dgp | |
| 05:30 | • Open ticket [502022ffff]. artifact: f38ec7aeea user: davygrvy | |
|
2002-01-15
| ||
| 20:12 | • Closed ticket [502022ffff]. artifact: 585f2f1429 user: dgp | |
|
2002-01-11
| ||
| 12:44 | • Ticket [502022ffff]: 4 changes artifact: 524749f002 user: davygrvy | |
|
2002-01-10
| ||
| 20:32 | • New ticket [502022ffff]. artifact: 0273205435 user: davethomas | |
Tcl_AsyncMark doesn't awaken the Notifie
Open502022ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 24 years ago
Descriptionplain2002-01-10 20:32:25
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.
davygrvyplain2002-01-11 12:44:27
Logged In: YES user_id=7549 Same as #502193.
dgp Closed ticket [502022ffff].
[History diff]2002-01-15 20:12:23
davygrvy Open ticket [502022ffff].
[History diff]2002-12-11 05:30:52
dgpplain2002-12-11 09:05:35
Logged In: YES user_id=80530 Passing to Notifier maintainer.
Log in (anonymous is fine) to add a comment.