On Tue, Aug 03, 2010 at 06:34:47PM -0700, Arjan van de Ven wrote:
Cute!!! ;-)
If this doesn't work for the Android folks for whatever reason, another
approach would be to do the freeze in user code, which could track
whether any user-level resources (pthread mutexes, SysV semas, whatever)
where held, and do the freeze on a thread-by-thread basis within each
"victim" application as the threads reach safe points.
I must of course defer to the Android folks as to whether or not this
would actually work for Android. But if your approach works for them,
why worry?
Thanx, Paul
--