Re: New Lifecycle Hooks

2018-12-12 Thread Alan Carroll
For a synchronous hook a callback is required to finish all operations on the same call stack and return when done. An asynchronous hook allows callback to finish later, on a different call stack by calling an enable / resume function. On Wed, Dec 12, 2018 at 12:51 PM Walt Karas wrote: > What's

Re: New Lifecycle Hooks

2018-12-12 Thread Walt Karas
What's the distinction between synchronous and asynchronous hooks? On Wed, Dec 12, 2018 at 12:41 PM Fei Deng wrote: > These would be synchronous hooks. > > On Wed, Dec 12, 2018 at 8:53 AM Alan Carroll > wrote: > > > Would these be synchronous or asynchronous hooks? > > > > If this is done, I wo

Re: New Lifecycle Hooks

2018-12-12 Thread Fei Deng
These would be synchronous hooks. On Wed, Dec 12, 2018 at 8:53 AM Alan Carroll wrote: > 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 w

Re: New Lifecycle Hooks

2018-12-12 Thread Alan Carroll
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 wrote: > There are two new lifecycle hooks I'd like to add to the list: > >- TS_LIFECYCLE_TASK_