diff options
author | Brad King <brad.king@kitware.com> | 2009-06-10 15:48:34 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-06-10 15:48:34 (GMT) |
commit | 312ca9670f4061660c68f2ca879ba5dcd18ec1a1 (patch) | |
tree | fe7c6dfe60bd14020338e66124178795de1af4fc /CMakeCPackOptions.cmake.in | |
parent | 1eec4fe6ad8021343f910aff0faab65548526bbc (diff) | |
download | CMake-312ca9670f4061660c68f2ca879ba5dcd18ec1a1.zip CMake-312ca9670f4061660c68f2ca879ba5dcd18ec1a1.tar.gz CMake-312ca9670f4061660c68f2ca879ba5dcd18ec1a1.tar.bz2 |
ENH: Teach KWSys Process basic VMS support
This achieves basic process execution on OpenVMS. We use work-arounds
for different fork()/exec() behavior and a lack of select().
VMS emulates fork/exec using setjmp/longjmp to evaluate the child and
parent return cases from fork. Therefore both must be invoked from the
same function.
Since select() works only for sockets we use the BeOS-style polling
implementation. However, non-blocking reads on empty pipes cannot be
distinguished easily from the last read on a closed pipe. Therefore we
identify end of data by an empty read after the child terminates.
Diffstat (limited to 'CMakeCPackOptions.cmake.in')
0 files changed, 0 insertions, 0 deletions