opnsense-src/sys/compat/linuxkpi
Hans Petter Selasky 05f56ac92f LinuxKPI: Force the usleep_range() function to sleep instead of spinning on the timer.
This allows other threads to execute, typically during hardware waiting loops.
This also maches how the function works in Linux.

Reviewed by:	kib
MFC after:	1 week
Sponsored by:	NVIDIA Networking
2021-07-10 21:59:31 +02:00
..
common LinuxKPI: Force the usleep_range() function to sleep instead of spinning on the timer. 2021-07-10 21:59:31 +02:00