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
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
Roland McGrath [EMAIL PROTECTED] writes:
[...]
What the utrace interface has always said about this is, So don't do
that. [...]
What I overlooked is that not just your data structures, but your
callbacks too might be going away, i.e. unloading the kernel module.
I don't think the