Re: asynchronous detach

2008-08-02 Thread Ananth N Mavinakayanahalli
On Thu, Jul 31, 2008 at 03:38:02PM -0700, Roland McGrath wrote: ... I think this can be a good model to use for non-perturbing quiesce for cases as breakpoint insertion and removal or any applicaton text modification, where one needs to ensure no thread is executing in the vicinity of

Re: asynchronous detach

2008-08-02 Thread Roland McGrath
So, the intention is that -EINPROGRESS can be returned only on a utrace_set_events(task, engine, 0), right? No, for any call when some bits had been enabled before and there hasn't been an intervening safe point. My idea was that it would return 0 only when it's sure that no disabled callback