Nils Goroll wrote: > Garrett, > > > I'd really prefer to use a callback that is executed *after* user > > threads are resumed. > > Yes, that definitely would be nicest. > > Out of curiosity, I had a look: Doesn't this > > http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/io/lvm/md/md_subr.c#1375 > > look like an example for how to do it? > > If I got this right, the callbacks are executed after > cpr_start_user_threads() > is called: > > http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/cpr/cpr_main.c#1245 > > Cheers, Nils > _______________________________________________ > opensolaris-code mailing list > opensolaris-code@opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/opensolaris-code > I don't think so, but I'll have to have another look. I think those callbacks were what was used to verify that kernel threads were in a state that was safe to suspend. They aren't used anymore, I think.
- Garrett _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code