Artifacts Associated With Ticket 67159f33bbd7e3d4
Ticket change [fcb25cdcce] (rid 155308) by dgp on 2017-08-10 14:15:27:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
As implemented, the new epoll notifier makes direct calls to the pthread_*() system routines. These routines are not available in a --disable-threads build, and the notifier fails. Either we need appropriate build safeguards to prevent building the epoll notifier in this configuration, or perhaps the epoll notifier might be re-implemented making calls to the Tcl_* threading primitives which might possibly do the right thing in that configuration.
- foundin initialized to: "8.7"
- is_private initialized to: "0"
- login: "dgp"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Critical"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "01. Notifier"
- title initialized to: "epoll notifier and --disable-threads build"
- type initialized to: "Bug"
Ticket change [2713078d27] (rid 155311) by dgp on 2017-08-10 14:20:07:
- icomment:
I suppose another possible answer is to end support for --disable-threads building, but I think we'd want to have a careful conversation about that.
- login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [af20161185] (rid 155334) by ferrieux on 2017-08-10 18:06:28:
- icomment:
Yes. The gist of that conversation being whether, in this new notifier, being threaded implies a dedicated extra thread (hence process table entry) or not. If not, the main reason for keeping --disable-threads alive vanishes.
- login: "ferrieux"
- mimetype: "text/plain"
- icomment:
Ticket change [1b4a2e341b] (rid 155406) by jan.nijtmans on 2017-08-17 22:59:57:
- assignee changed to: "jan.nijtmans"
- icomment:
My suggestion would be: If Tcl is built with --disable-threads, then the epoll notifyer et al could be disabled as well. Since Epoll depends on the pthread functions, I wouldn't want to change the epoll implementation for this. I'll see if I can give a try on this.
- login: "jan.nijtmans"
- mimetype: "text/plain"
Ticket change [84a55f2d0a] (rid 163163) by jan.nijtmans on 2018-05-18 08:31:49:
- closedate changed to: "2458256.85542905"
- closer changed to: "jan.nijtmans"
- icomment:
Since [http://core.tcl.tk/tips/doc/trunk/tip/491.md|TIP #491] is accepted now, --disable-threads builds will be discontinued anyway. Therefore we don't have to fix this any more.
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Wont Fix"
- status changed to: "Closed"