Overview
| Comment: | Fix [f1a25e8a50]: New thread panics "Tcl_InitNotifier: could not create trigger eventfd" when stdin is closed. With stdin closed, eventfd() returns fd 0, which the epoll notifier treated as an error. TclpFinalizeNotifier() in the epoll and kqueue notifiers also did not close a trigger or epoll/kqueue fd that is 0, so the kqueue notifier leaked it. |
|---|---|
| Timelines: | family | ancestors | descendants | both | notifier-fd-zero |
| Files: | files | file ages | folders |
| SHA3-256: |
f20443fb111af4e073acbc3178e8c4e9 |
| User & Date: | serhiy.storchaka on 2026-11-14 17:50:35.091 |
| Other Links: | branch diff | manifest | tags |
Context
|
2026-11-17
| ||
| 11:21 | Fix [f1a25e8a50]: New thread panics when stdin is closed check-in: 64ce9de2a3 user: jan.nijtmans tags: trunk, main | |
|
2026-11-14
| ||
| 17:50 | Fix [f1a25e8a50]: New thread panics "Tcl_InitNotifier: could not create trigger eventfd" when stdin ... closed check-in: f20443fb11 user: serhiy.storchaka tags: notifier-fd-zero | |
| 16:27 | Get rid of some of the weird styles that were in the makefiles; 'else true;' wasn't helping check-in: 9ba82c1fb3 user: dkf tags: trunk, main | |
Changes
Modified tests/thread.test
from [f08fa6b7af]
to [e70feb2ab5].
[diff]
Modified unix/tclEpollNotfy.c
from [20977764e0]
to [c1245ef32e].
[diff]
Modified unix/tclKqueueNotfy.c
from [ae8f91ed70]
to [e038b8ae33].
[diff]