Well there is a cheap trick if you catch what the man page says.
> You can try, and you will certainly sleep at least that long, but any
> time given modulo 10ms is out the door ...
Make all your calls to nanasleep be less than 2ms, and loop through as
many as you need until you are under 2ms.
Don't do it for too long because you get no other use out of your machine
while your doing this but it does work.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/