This is the mail archive of the archer@sourceware.org mailing list for the Archer project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ptrace improvement: PTRACE_O_INHERIT


> Or, attach can use a mutex in engine->data and synchronize with its
> own report_clone/report_death callbacks. This makes attach O(n).
> ugdb does this.

Sure, you'd do that too.  But for attaching to live threads, you still have
to chase the new clones just done by the unattached threads before you
attached them.


Thanks,
Roland


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]