Artifacts Associated With Ticket 0be26484a0743c05
Ticket change [485d8c22a7] (rid 253907) by anonymous on 2026-05-25 14:06:55:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-markdown"
- comment initialized to:
The notifier in `unix/tclEpollNotfy.c` has a `notifierMutex` in its `ThreadSpecificData`. The comment says that this mutex protects notifier termination in `TclpFinalizeNotifier`. In `TclpFinalizeNotifier`, indeed the code is protected by ``` pthread_mutex_lock(&tsdPtr->notifierMutex); ... pthread_mutex_unlock(&tsdPtr->notifierMutex); ``` However, since `notifierMutex` is not acquired in `TclpAlertNotifier` or anywhere else (if `NOTIFIER_EPOLL` is defined), the mutex does not seem to be doing anything useful. This may be a vestige of the select-based notifier, which does acquire `notifierMutex` in `TclpAlertNotifier`. The same issue occurs in the kqueue notifier. - foundin initialized to: "Tcl 9.1a2"
- is_private initialized to: "0"
- login: "anonymous"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Important"
- status initialized to: "Open"
- submitter initialized to: "anonymous"
- subsystem initialized to: "02. Event Loops"
- title initialized to:
mutex in TclpFinalizeNotifier in the epoll and kqueue notifiers
- type initialized to: "Bug"