waiting milliseconds

Vasili Goutas (vgo@ratio.de)
Fri, 21 Aug 1998 15:40:54 +0200


I try to make my driver waiting some milliseconds.
I reed about jiffies and tried to get sleep with
"current->timeout = (delay / 10); ...." for a time of 20msec.
The problem is that I use C++ and I can't include linux/sched.h because
of a line that includes "asmlinkage" (whatever that is).
So is there an other way to way for milliseconds?
TIA
Vasili

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html