Apache Portable Runtime
Defines
Other Child Flags
Threads and Process Functions

Defines

#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

Define 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 occuring, perform any necessary cleanup (including sending a special signal to child)

#define APR_OC_REASON_RUNNING   5

a health check is occuring, 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

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines