This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
Re: ptrace improvement: PTRACE_O_INHERIT
On 02/16, Roland McGrath wrote:
>
> > Could you spell please?
>
> Say a debugger has two threads.
>
> Thread A calls wait*.
> Thread B calls PTRACE_DETACH.
>
> Thread A can perceive a wait result from tracee T to be simultaneous with,
> or after, thread B has detached from T.
Ah, yes, sure.
I thought you meant that do_wait() (in kernel) can somehow see the
tracee after it was already detached.
Thanks.
Oleg.