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