diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-06 16:58:57 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-06 16:58:57 +0000 |
commit | 406035ae7aebc710bf47132ff7b466e0f01044a7 (patch) | |
tree | e12ff9a37d7db24b62ba35d1bc21b3444295869e | |
parent | 428af2fe3068e94096f979757b643a2069b901e3 (diff) | |
download | gcc-406035ae7aebc710bf47132ff7b466e0f01044a7.tar.gz |
libiberty:
* pexecute.txh (pex_free): Document process killing.
include:
* libiberty.h (pex_free): Document process killing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128192 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/libiberty.h | 5 | ||||
-rw-r--r-- | libiberty/ChangeLog | 4 | ||||
-rw-r--r-- | libiberty/pexecute.txh | 4 |
4 files changed, 14 insertions, 3 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index b29d428bbbf..13542ee97ae 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2007-09-06 Tom Tromey <tromey@redhat.com> + + * libiberty.h (pex_free): Document process killing. + 2007-08-31 Douglas Gregor <doug.gregor@gmail.com> * demangle.h (enum demangle_component_type): Add diff --git a/include/libiberty.h b/include/libiberty.h index 4e697343fb6..6ea8761fcd1 100644 --- a/include/libiberty.h +++ b/include/libiberty.h @@ -1,6 +1,6 @@ /* Function declarations for libiberty. - Copyright 2001, 2002, 2005 Free Software Foundation, Inc. + Copyright 2001, 2002, 2005, 2007 Free Software Foundation, Inc. Note - certain prototypes declared in this header file are for functions whoes implementation copyright does not belong to the @@ -541,7 +541,8 @@ struct pex_time extern int pex_get_times (struct pex_obj *, int count, struct pex_time *vector); -/* Clean up a pex_obj. */ +/* Clean up a pex_obj. If you have not called pex_get_times or + pex_get_status, this will try to kill the subprocesses. */ extern void pex_free (struct pex_obj *); diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 2e4339064ec..781a9611579 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,7 @@ +2007-09-06 Tom Tromey <tromey@redhat.com> + + * pexecute.txh (pex_free): Document process killing. + 2007-08-31 Douglas Gregor <doug.gregor@gmail.com> * cp-demangle.c (d_dump): Handle diff --git a/libiberty/pexecute.txh b/libiberty/pexecute.txh index b87c0e53a6d..8baf9a0d01b 100644 --- a/libiberty/pexecute.txh +++ b/libiberty/pexecute.txh @@ -265,7 +265,9 @@ process times, all the fields will be set to @code{0}. @deftypefn Extension void pex_free (struct pex_obj @var{obj}) -Clean up and free all data associated with @var{obj}. +Clean up and free all data associated with @var{obj}. If you have not +yet called @code{pex_get_times} or @code{pex_get_status}, this will +try to kill the subprocesses. @end deftypefn |