| Author | jmmv@NetBSD.org |
|---|---|
| Branch | org.NetBSD.atf.src |
| Changelog |
Implement a proper child-process management API Add a sane child-process management API in the atf-c process module. I am tired of rewriting pipe and fork code every time we need to spawn a subprocess, as it is very error prone and really tied to Unix. Nothing uses it yet except for the test cases. Unfortunately, this new process module is quite convoluted. We will see how well it plays when I replace all prior usages of fork() with the new module, but I'm afraid the C++ variant of it will be quite complex too... |
| Date | 2009-06-21T17:37:34 |
| Oldrevision |
Old revision is: [f48a12ad..] (diff) |
|---|---|
| Patch |
Patch file atf-c/check.c (diff) Patch file atf-c/process.c (diff) Patch file atf-c/process.h (diff) Patch file atf-c/tc.c (diff) Patch file atf-c++/process.cpp (diff) Patch file tests/atf/atf-c/t_process.c (diff) Patch file tests/atf/atf-c/t_sanity.c (diff) Patch file tests/atf/atf-c/t_signals.c (diff) |