sleep for specified time
Lowell Gilbert
freebsd-questions-local at be-well.no-ip.com
Fri May 30 06:04:53 PDT 2003
> > someone please tell me how to make a kld sleep for specified number of
> > microseconds
> >
> > its urgent.
>
> nanosleep (microseconds*1000);
In the kernel? Surely not.
I think you'd need to explicitly run the scheduler, and probably use a
timer event to resume later. There are established techniques for
these things, but the BSD kernel details aren't my specialty...
More information about the freebsd-questions
mailing list