Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-11-10 | Also unmask (if needed) sigchld in the child process thunk | Peter Bex | |
This would be otherwise kept in masked mode because the thunk is in the dynamic extent of the dynamic-wind. | |||
2017-11-10 | Don't unmask signal if the signal was already masked before forking | Peter Bex | |
2017-11-09 | Tag 0.9.00.9.0 | Peter Bex | |
2017-11-09 | Temporarily mask sigchld to avoid race condition in fork | Peter Bex | |
We do a fork, and immediately afterwards we insert a scsh-process object into the pending processes table with the pid of the newly created child process. However, sigchld may arrive in between the fork and the insertion of the scsh-process object into the pending process table. The sigchld handler will reap the child process and attempt to update the pending scsh-process object, but it can't find it yet because the insertion of this object into the table happens after the fork, thus losing the reaped child's exit status. Then, if the program waits for the process after that, we enter an infinite busy waiting loop that expects a sigchld to arrive and update the object through the table, but that never happens because the child has already been reaped. | |||
2017-11-08 | Tag 0.8.30.8.3 | Peter Bex | |
2017-11-08 | Add a test case for "annonymous" wait. | Jörg Wittenberger | |
Signed-off-by: Peter Bex <peter@more-magic.net> | |||
2017-11-08 | Fix process-wait on #f or a plain pid | Peter Bex | |
Thanks to Jörg F. Wittenberger for the patch and test | |||
2017-06-29 | Tag 0.8.20.8.2 | Peter Bex | |
2017-06-29 | Ensure ports are closed after reading in run/...* procedures (thanks to ↵ | Peter Bex | |
Jörg F. Wittenberger) | |||
2017-06-03 | Tag 0.8.10.8.1 | Peter Bex | |
2017-06-03 | Reinstall deadlock workaround thread when forking with thread killing | Peter Bex | |
2017-05-23 | scsh-process: Add release 0.80.8 | Peter Bex | |
2017-05-23 | Fix race condition that caused mutex to get unlocked when the process wasn't ↵ | Peter Bex | |
ready yet | |||
2017-05-23 | chicken-version is not from setup-api | Peter Bex | |
2017-05-23 | Block only current thread instead of entire process when waiting for a child. | Jörg Wittenberger | |
Signed-off-by: Peter Bex <peter@more-magic.net> | |||
2017-01-28 | scsh-process: Add release 0.7.10.7.1 | Peter Bex | |
2017-01-28 | Bump version to 0.7.1 (forgot to do that when tagging) | Peter Bex | |
2017-01-24 | Update copyright year | Peter Bex | |
2017-01-24 | scsh-process: Add release 0.70.7 | Peter Bex | |
2017-01-21 | Clear pending process table on fork. | Peter Bex | |
Thanks to Joerg Wittenberger | |||
2017-01-21 | Also export proc:pid (thanks to Joerg Wittenberger) | Peter Bex | |
2016-09-24 | Bump version to 0.60.6 | Peter Bex | |
2016-09-24 | Add proc:pid, proc?, signal-process and process-sleep for improved compat | Peter Bex | |
Thanks to Joerg Wittenberger for the suggestion to add proc:pid and signal-process. | |||
2016-02-27 | Update release-info to reflect new download location | Peter Bex | |
2015-07-18 | Updated release-info file for release tag 0.5 | Peter Bex | |
2015-07-18 | Added tag 0.5 for changeset 68864f175789 | Peter Bex | |
2015-07-18 | Bump version to 0.50.5 | Peter Bex | |
2015-07-18 | Fix default output redirections to ignore stderr. | Peter Bex | |
This is what scsh does as well, and is more like a regular UNIX shell. Thanks to Haochi Kiang for reporting the bug and providing a patch. | |||
2013-06-22 | Updated release-info file for release tag 0.4.1 | Peter Bex | |
2013-06-22 | Added tag 0.4.1 for changeset 5caf37f3dbb7 | Peter Bex | |
2013-06-22 | Bump version to 0.4.1 (and update copyright year, while we're at it)0.4.1 | Peter Bex | |
2013-06-18 | Support unquote-splicing through a variant of exec-path (reported by Moritz) | Peter Bex | |
2012-11-03 | Updated release-info file for release tag 0.4 | Peter Bex | |
2012-11-03 | Added tag 0.4 for changeset b30ed1cb32bc | Peter Bex | |
2012-11-03 | Fixing threads is kinda worth a minor version bump... :)0.4 | Peter Bex | |
2012-11-03 | Support new process-fork form which can kill all other threads. We still ↵ | Peter Bex | |
see some problems occurring | |||
2012-10-06 | Updated release-info file for release tag 0.3.1 | Peter Bex | |
2012-10-06 | Added tag 0.3.1 for changeset 38692591793c | Peter Bex | |
2012-10-06 | Fix order of returning0.3.1 | Peter Bex | |
2012-10-06 | Bump | Peter Bex | |
2012-10-06 | Return #f from WAIT when nohang is given and the process hasn't completed | Peter Bex | |
2012-10-06 | Updated release-info file for release tag 0.3 | Peter Bex | |
2012-10-06 | Added tag 0.3 for changeset a6d0e7a5a881 | Peter Bex | |
2012-10-06 | Provide a new 'wait' procedure so we don't need to modify the type of ↵0.3 | Peter Bex | |
process-wait, which could lead to trouble in user code when compiled with scrutiny and/or specialization. This procedure returns the values in a different order for ease of use. May be a bit confusing... | |||
2012-10-06 | Revert back to standard-extension and include a type declaration override ↵ | Peter Bex | |
for scsh-process to fix bogus optimization of 'signal-handler' due to invalid scrutiny type | |||
2012-10-06 | Add back the nohang option to the process-wait override | Peter Bex | |
2012-10-05 | Updated release-info file for release tag 0.2.1 | Peter Bex | |
2012-10-05 | Added tag 0.2.1 for changeset d3c7cae85443 | Peter Bex | |
2012-10-05 | Workaround for bug in 4.8.0 when loading scsh-process in compiled mode - it ↵0.2.1 | Peter Bex | |
segfaults immediately. TODO: Figure out why | |||
2012-10-05 | Updated release-info file for release tag 0.2 | Peter Bex | |