sleep in freebsd kernel

From: lu ping <luping.nju_at_gmail.com>
Date: Sat, 3 Feb 2007 16:28:12 -0500
Hey Folks,

I have a question about making my kernel thread sleep for a while. I think I
can use "tsleep", but the timeout for this call is only counted as system
ticks (usually at millisecond granularity). However I want to make my
"sleep" return in microsecond granularity. Does anybody know how to realize
this?

Thanks

Luping
Received on Sat Feb 03 2007 - 20:53:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:05 UTC