freebsd11_network: Add mtx_sleep.

It is identical to msleep(), which is now "deprecated" in favor of it,
according to the FreeBSD manpages.
This commit is contained in:
Augustin Cavalier
2018-06-28 17:32:53 -04:00
parent d20630d0bc
commit dcf58b2783
@@ -96,6 +96,7 @@ int _pause(const char *, int);
#define pause(waitMessage, timeout) _pause((waitMessage), (timeout))
#define tsleep(channel, priority, waitMessage, timeout) \
msleep((channel), NULL, (priority), (waitMessage), (timeout))
#define mtx_sleep msleep
struct unrhdr;
struct unrhdr *new_unrhdr(int low, int high, struct mtx *mutex);