Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Feb 2007 16:28:12 -0500
From:      "lu ping" <luping.nju@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   sleep in freebsd kernel
Message-ID:  <e80b0eb70702031328x43e742e8m90f9facfc1ec3ff1@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e80b0eb70702031328x43e742e8m90f9facfc1ec3ff1>