Apache Portable Runtime
Macros

Macros

#define APR_OC_REASON_DEATH   0
 
#define APR_OC_REASON_UNWRITABLE   1
 
#define APR_OC_REASON_RESTART   2
 
#define APR_OC_REASON_UNREGISTER   3
 
#define APR_OC_REASON_LOST   4
 
#define APR_OC_REASON_RUNNING   5
 

Detailed Description

Macro Definition Documentation

#define APR_OC_REASON_DEATH   0

child has died, caller must call unregister still

#define APR_OC_REASON_LOST   4

somehow the child exited without us knowing ... buggy os?

#define APR_OC_REASON_RESTART   2

a restart is occurring, perform any necessary cleanup (including sending a special signal to child)

#define APR_OC_REASON_RUNNING   5

a health check is occurring, for most maintainence functions this is a no-op.

#define APR_OC_REASON_UNREGISTER   3

unregister has been called, do whatever is necessary (including kill the child)

#define APR_OC_REASON_UNWRITABLE   1

write_fd is unwritable