[dtrace-discuss] kernel pause/resume

Eric Schrock
Wed, 10 Aug 2005 22:22:34 -0000

There is the chill() action, which allows you to induce arbitrary delay
(up to a maximum limit).  See:

http://docs.sun.com/app/docs/doc/817-6223/6mlkidlhl?a=view

You can also stop processes using the stop() action, and resume them
using ''system("prun %d")''.

- Eric

On Wed, Aug 10, 2005 at 03:00:43PM -0700, Michael Bergknoff
wrote:
> Is there a way (with -w) to do pause/resume within kernel probes to aid
> in reproducing timing issues. So thread 1 would do something like
> pause(cond) and thread 2 would do resume(cond).
>
> Thanks,
> Mike
>
> _______________________________________________
> dtrace-discuss mailing list
> dtrace-discuss at opensolaris.org

--
Eric Schrock, Solaris Kernel Development       http://blogs.sun.com/eschrock