when a process has timed out and been killed.
Because timed out processes now emit a diagnostic, I
had to update option_l.jam so we wouldn't break test.sh
when it runs.
Minor cleanup to execunix.c to remove unneeded code
and to set the process exit status as returned from
waitpid. The exit status is used to identify timed
out processes so we can emit a diagnostic to the user.
[SVN r39423]
when a process has timed out and been killed.
Because timed out processes now emit a diagnostic, I
had to update option_l.jam so we wouldn't break test.sh
when it runs.
Minor cleanup to execunix.c to remove unneeded code
and to set the process exit status as returned from
waitpid. The exit status is used to identify timed
out processes so we can emit a diagnostic to the user.
[SVN r39423]
AIX. Apparently AIX doesn't permit a forked process to
reference (set) memory in the parent's address space. No
other system seems to object to this practice but it taught
me a lesson!
The fix was to move the call to get the child process start
time directly before calling vfork. This isn't really fair
to the forked process as we start counting time against the
child process that we haven't even forked (we count the
vfork/exec call overhead against the child process).
Tested Rene's test.sh script on Sun, Linux, AIX, and Sgi.
[SVN r39399]
AIX. Apparently AIX doesn't permit a forked process to
reference (set) memory in the parent's address space. No
other system seems to object to this practice but it taught
me a lesson!
The fix was to move the call to get the child process start
time directly before calling vfork. This isn't really fair
to the forked process as we start counting time against the
child process that we haven't even forked (we count the
vfork/exec call overhead against the child process).
Tested Rene's test.sh script on Sun, Linux, AIX, and Sgi.
[SVN r39399]
emit each referenced template in the object file
where referenced and then rely on the linker to
remove duplicates.
Added some missing macros to sgi_mipspro.hpp.
[SVN r39382]
emit each referenced template in the object file
where referenced and then rely on the linker to
remove duplicates.
Added some missing macros to sgi_mipspro.hpp.
[SVN r39382]
the timeout implementation. Also removed unused variables
as diagnosed by the Sgi (mipspro) compiler.
Fixed const-correctness error in operations.hpp that
Sgi complained about.
There's no strerror_r function on Irix 6.5 so I replaced
it with a strerror call.
With these changes, I can now build process jam log and
start running Sgi tests.
[SVN r39378]
the timeout implementation. Also removed unused variables
as diagnosed by the Sgi (mipspro) compiler.
Fixed const-correctness error in operations.hpp that
Sgi complained about.
There's no strerror_r function on Irix 6.5 so I replaced
it with a strerror call.
With these changes, I can now build process jam log and
start running Sgi tests.
[SVN r39378]
to times, one to kill). Now all expired processes
are killed in one place. If the select command
times out, I set each processes start_time to zero
to ensure it is picked up as an expired process.
[SVN r39361]
to times, one to kill). Now all expired processes
are killed in one place. If the select command
times out, I set each processes start_time to zero
to ensure it is picked up as an expired process.
[SVN r39361]
terminate expired processes. This patch basically
causes the select function to return after -l seconds.
This gives me a shot at killing processes still
running.
[SVN r39358]
terminate expired processes. This patch basically
causes the select function to return after -l seconds.
This gives me a shot at killing processes still
running.
[SVN r39358]
make_pair with std:: to library_status.cpp.
Added missing headers to make1.c and missing prototypes
to builtin.h
Modified execunix.c to add support for terminating
processes that consume too much cpu or that hang and
fail to consume cpu at all. This in support of the
bjam -lx option.
http://svn.boost.org/trac/boost/ticket/1266#comment:2
[SVN r39334]
make_pair with std:: to library_status.cpp.
Added missing headers to make1.c and missing prototypes
to builtin.h
Modified execunix.c to add support for terminating
processes that consume too much cpu or that hang and
fail to consume cpu at all. This in support of the
bjam -lx option.
http://svn.boost.org/trac/boost/ticket/1266#comment:2
[SVN r39334]