diff options
author | Nay <dnpd.dd@gmail.com> | 2012-09-17 23:49:13 +0100 |
---|---|---|
committer | Nay <dnpd.dd@gmail.com> | 2012-09-17 23:49:13 +0100 |
commit | 6568b0624dcd03243c70f9aa905b88422cb1e4c2 (patch) | |
tree | 48ec6babfbfb2f9d255df568b659db9541d11054 /dep/acelite/ace/Process_Manager.h | |
parent | e3add09fb7f8f3c425f6cb0e7611e4e2381bf88d (diff) | |
parent | 2e21fa6b925c4572d620248f1b149a5d652836b2 (diff) |
Merge remote-tracking branch 'origin/master' into 4.3.4
Conflicts:
src/server/game/Achievements/AchievementMgr.cpp
src/server/game/Entities/Object/Updates/UpdateFields.h
src/server/game/Entities/Unit/Unit.cpp
src/server/scripts/Spells/spell_druid.cpp
Diffstat (limited to 'dep/acelite/ace/Process_Manager.h')
-rw-r--r-- | dep/acelite/ace/Process_Manager.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/dep/acelite/ace/Process_Manager.h b/dep/acelite/ace/Process_Manager.h index 3956c18d0b6..2f50e761882 100644 --- a/dep/acelite/ace/Process_Manager.h +++ b/dep/acelite/ace/Process_Manager.h @@ -4,7 +4,7 @@ /** * @file Process_Manager.h * - * $Id: Process_Manager.h 91688 2010-09-09 11:21:50Z johnnyw $ + * $Id: Process_Manager.h 92489 2010-11-05 00:33:37Z shuston $ * * @author Douglas C. Schmidt <schmidt@cs.wustl.edu> */ @@ -210,6 +210,9 @@ public: * * @note This call is potentially dangerous to use since the process * being terminated may not have a chance to cleanup before it shuts down. + * The process's entry is also not removed from this class's process + * table. Calling either wait() or remove() after terminate() is + * advisable. * * @retval 0 on success and -1 on failure. */ @@ -290,10 +293,9 @@ public: /** * Remove process @a pid from the ACE_Process_Manager's internal records. - * This is called automatically by the reap() method after it successfully - * reaps a process. It's also possible to call this method - * directly from a signal handler, but don't call both reap() and - * remove()! + * This is called automatically by the wait() method if the waited process + * exits. This method can also be called after calling terminate() if + * there's no need to wait() for the terminated process. */ int remove (pid_t pid); |