Artifacts Associated With Ticket d1bf3f53a6e19c6b
Ticket change [5170c44cf2] (rid 195285) by chw on 2021-08-04 16:49:15:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-wiki"
- comment initialized to:
The attachment contains a diff against core-8-branch at [c8be6c32f12bd5f112654cdb4482ae3dc0f88110]
- foundin initialized to: "core-8-branch"
- is_private initialized to: "0"
- login: "chw"
- priority initialized to: "5 Medium"
- private_contact initialized to: "0b3aff16612e1e9f3b675963fa64e01bd1d89307"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "chw"
- subsystem initialized to: "04. Async Events"
- title initialized to: "tip#511 proposed implementation"
- type initialized to: "RFE"
Add attachment "tip511.diff" [425eed73aa] (rid 195287) by chw on 2021-08-04 16:49:27.
Ticket change [b0a40d48e4] (rid 195288) by chw on 2021-08-04 22:12:26:
- icomment:
The second attachment (tip511.diff2) replaces the first and improves the code path for signal handlers not to use pthread_get_specific(), which according to the documentation available on the internet is not listed as a async-signal-safe function.
- login: "chw"
- mimetype: "text/x-fossil-wiki"
- icomment:
Add attachment "tip511.diff2" [0129dbff31] (rid 195290) by chw on 2021-08-04 22:12:38.
Ticket change [2a1deb1c01] (rid 195291) by chw on 2021-08-04 22:24:32:
- icomment:
Forgot a function for the MacOSX version. This is now in tip511.diff3 which hopefully is the final candidate.
- login: "chw"
- mimetype: "text/x-fossil-wiki"
- icomment:
Add attachment "tip511.diff3" [4c280388a7] (rid 195293) by chw on 2021-08-04 22:24:44.
Ticket change [528bac6891] (rid 195305) by chw on 2021-08-05 17:52:49:
- icomment:
A missing if block in Tcl_AsyncInvoke is fixed in the attached tip511.diff4 plus the Async.3 man page is updated.
- login: "chw"
- mimetype: "text/x-fossil-wiki"
- icomment:
Add attachment "tip511.diff4" [6e92f7bcc0] (rid 195307) by chw on 2021-08-05 17:53:00.
Ticket change [608ad12c64] (rid 195308) by chw on 2021-08-05 19:59:41:
- icomment: "A typo is fixed in attachment tip511.diff5"
- login: "chw"
- mimetype: "text/x-fossil-wiki"
Add attachment "tip511.diff5" [8875bb0e15] (rid 195310) by chw on 2021-08-05 19:59:51.
Ticket change [0114a6bac5] (rid 195382) by jan.nijtmans on 2021-08-17 16:30:19:
- assignee changed to: "jan.nijtmans"
- icomment:
There's a 'tip-511' implementation branch now, derived from tip511.diff5 with a few additional tweaks: 1) Adapted unix/configure.ac to autoconf-70, and re-generated unix/configure 2) Moved stub entry, preventing a conflict with TIP #568 (which will - hopefully - be voted on soon) I didn't review it further, but will do that soon. Other people wanting to review the implementation, please go ahead! If nothing comes up the coming weeks, I'll be happy to sponsor this TIP.
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
Ticket change [83d9583c78] (rid 195384) by jan.nijtmans on 2021-08-18 14:08:06:
- icomment:
MacOS Build on GITHUB failed: [https://github.com/tcltk/tcl/runs/3358643773?check_suite_focus=true]. Any idea what could be the reason? <pre> Tests began at Wed Aug 18 07:43:24 UTC 2021 aaa_exit.test Test file error: child killed: illegal instruction append.test Test file error: child killed: illegal instruction .... </pre>
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [d99ccf8d44] (rid 195387) by chw on 2021-08-18 18:01:22:
- icomment:
Just a guess: there's a call to StartNotifierThread() at the end of AtForkChild() in order to have early signal handling proper. Maybe this is the culprit.
- login: "chw"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [3bf5a2534c] (rid 195388) by chw on 2021-08-18 19:13:14:
- icomment:
Please try the attached macos-tip511.diff (should fix the issue hopefully).
- login: "chw"
- mimetype: "text/x-fossil-wiki"
- icomment:
Add attachment "macos-tip511.diff" [f4f30de69f] (rid 195390) by chw on 2021-08-18 19:13:31.
Ticket change [a9ef322b64] (rid 195391) by chw on 2021-08-18 22:26:51:
- icomment:
Musing over the latest patch: that problem is only manifest for use cases of the fork command in TclX. Not at all for the usual Tcl test cases, where in a subprocess something is immediately exec'ed. But anyway, since Tcl can be used as a toolbox/library forking should be fully supported.
- login: "chw"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [6621af07dd] (rid 195410) by jan.nijtmans on 2021-08-20 07:59:50:
- icomment:
MacOS Build on GITHUB succeeded now. @chw, any more final tweaks you want to make? Is it ready now to be merged to core-8-branch?
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [02b1b9365b] (rid 195411) by chw on 2021-08-20 08:40:54:
- icomment:
Jan, when no more errors show up in the CI, yes please merge. I'm aware that it requires still more test cases in the tests directory and infrastructure for it in tclTest.c but let's go ahead anyways.
- login: "chw"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [5575ec940a] (rid 195425) by chw on 2021-08-20 21:20:22:
- icomment:
Fine. Now, that tip-511 almost went into production, let us hope that FlightAware will pick it up, somewhat. As stated earlier TclX will be the most prominent test case. And please FlightAware people, find ideas for patching on www.androwish.org
- login: "chw"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [cd7be88153] (rid 196598) by jan.nijtmans on 2021-11-16 16:34:32:
- closedate changed to: "2459535.19065749"
- closer changed to: "jan.nijtmans"
- icomment: "Implementation in 8.7 branch now: [1a6b389968]"
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"