[Patches] [ python-Patches-1000267 ] A BSD-style wait4 implementation

SourceForge.net noreply at sourceforge.net
Wed Aug 4 23:53:45 CEST 2004


Patches item #1000267, was opened at 2004-07-29 13:52
Message generated for change (Comment added) made by jepler
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1000267&group_id=5470

Category: Modules
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: chads (cjschr)
Assigned to: Nobody/Anonymous (nobody)
Summary: A BSD-style wait4 implementation

Initial Comment:
A BSD-style wait4 implementation.

Using existing code from the posixmodule.c and
resource.c files,
I threw together a patch that implements the wait4
function.

This function is similar to waitpid, but it also
returns usage information
about the child process.

wait4(pid, options) -> (pid, status, rusage)

It works for me on RedHat Linux 9 and FreeBSD 4.5 boxes
using
Python-2.3.4.

The patch may need some fine tuning.

Thanks
Chad

----------------------------------------------------------------------

Comment By: Jeff Epler (jepler)
Date: 2004-08-04 16:53

Message:
Logged In: YES 
user_id=2772

You should also add code to the test suite to test wait4
when it is available.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1000267&group_id=5470


More information about the Patches mailing list