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

◆ APR_OC_REASON_DEATH

#define APR_OC_REASON_DEATH   0

child has died, caller must call unregister still

◆ APR_OC_REASON_LOST

#define APR_OC_REASON_LOST   4

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

◆ APR_OC_REASON_RESTART

#define APR_OC_REASON_RESTART   2

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

◆ APR_OC_REASON_RUNNING

#define APR_OC_REASON_RUNNING   5

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

◆ APR_OC_REASON_UNREGISTER

#define APR_OC_REASON_UNREGISTER   3

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

◆ APR_OC_REASON_UNWRITABLE

#define APR_OC_REASON_UNWRITABLE   1

write_fd is unwritable