Would these be synchronous or asynchronous hooks?

If this is done, I would them them done in separate PRs. In addition,
please write the man pages first.

On Tue, Dec 11, 2018 at 11:26 AM Fei Deng <duke8...@apache.org> wrote:

> There are two new lifecycle hooks I'd like to add to the list:
>
>    - TS_LIFECYCLE_TASK_THREADS_READY_HOOK
>    - TS_LIFECYCLE_SHUTDOWN_HOOK
>
> TS_LIFECYCLE_TASK_THREADS_READY_HOOK is needed for the new
> TSContScheduleOnXXXX APIs. I don't think there is any way of telling
> whether the ET_TASK threads are ready or not.
> TS_LIFECYCLE_SHUTDOWN_HOOK is needed for signaling plugins that traffic
> server is shutting down, and should start cleaning up and shutdown itself.
> This will help with the openssl related crash on shutdown issue.
>


-- 
*Beware the fisherman who's casting out his line in to a dried up riverbed.*
*Oh don't try to tell him 'cause he won't believe. Throw some bread to the
ducks instead.*
*It's easier that way. *- Genesis : Duke : VI 25-28

Reply via email to