version 1.14, 2012/03/27 06:55:45
|
version 1.15, 2013/06/14 10:43:59
|
|
|
#include <Pegasus/Common/Signal.h> | #include <Pegasus/Common/Signal.h> |
#include <Pegasus/Common/AutoPtr.h> | #include <Pegasus/Common/AutoPtr.h> |
#include <Pegasus/Common/Exception.h> | #include <Pegasus/Common/Exception.h> |
|
#include <Pegasus/Common/Pegasus_inl.h> |
#include <Service/PidFile.h> | #include <Service/PidFile.h> |
#include <Service/ServerRunStatus.h> | #include <Service/ServerRunStatus.h> |
| |
|
|
cnt += rtncnt; | cnt += rtncnt; |
if (rtncnt >= count) | if (rtncnt >= count) |
{ | { |
proctable=(struct procsinfo *) realloc( |
proctable=(struct procsinfo *) peg_realloc( |
(void*)proctable, (size_t) (PROCSIZE*(cnt+count))); | (void*)proctable, (size_t) (PROCSIZE*(cnt+count))); |
if (!proctable) | if (!proctable) |
{ | { |