.
D 2026-05-25T14:06:55.466
J assignee nobody
J closer nobody
J cmimetype text/x-markdown
J comment The\snotifier\sin\s`unix/tclEpollNotfy.c`\shas\sa\s`notifierMutex`\sin\sits\s`ThreadSpecificData`.\sThe\scomment\ssays\sthat\sthis\smutex\sprotects\snotifier\stermination\sin\s`TclpFinalizeNotifier`.\sIn\s`TclpFinalizeNotifier`,\sindeed\sthe\scode\sis\sprotected\sby\r\n```\r\n\s\s\s\spthread_mutex_lock(&tsdPtr->notifierMutex);\r\n\s\s\s\s...\r\n\s\s\s\spthread_mutex_unlock(&tsdPtr->notifierMutex);\r\n```\r\n\r\nHowever,\ssince\s`notifierMutex`\sis\snot\sacquired\sin\s`TclpAlertNotifier`\sor\sanywhere\selse\s(if\s`NOTIFIER_EPOLL`\sis\sdefined),\sthe\smutex\sdoes\snot\sseem\sto\sbe\sdoing\sanything\suseful.\sThis\smay\sbe\sa\svestige\sof\sthe\sselect-based\snotifier,\swhich\sdoes\sacquire\s`notifierMutex`\sin\s`TclpAlertNotifier`.\r\n\r\nThe\ssame\sissue\soccurs\sin\sthe\skqueue\snotifier.
J foundin Tcl\s9.1a2
J is_private 0
J login anonymous
J priority 5\sMedium
J resolution None
J severity Important
J status Open
J submitter anonymous
J subsystem 02.\sEvent\sLoops
J title mutex\sin\sTclpFinalizeNotifier\sin\sthe\sepoll\sand\skqueue\snotifiers
J type Bug
K 0be26484a0743c05cb7e04c8d4caf62bbc6a99c3
U anonymous
Z e654c94189bdab0e30d7e07422a247ce