diff options
Diffstat (limited to 'sys/sys/event.h')
-rw-r--r-- | sys/sys/event.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/event.h b/sys/sys/event.h index 3cf8bce..82764bc 100644 --- a/sys/sys/event.h +++ b/sys/sys/event.h @@ -141,6 +141,8 @@ MALLOC_DECLARE(M_KQUEUE); #define KNOTE_LOCKED(list, hint) knote(list, hint, 1) #define KNOTE_UNLOCKED(list, hint) knote(list, hint, 0) +#define KNLIST_EMPTY(list) SLIST_EMPTY(&(list)->kl_list) + /* * Flag indicating hint is a signal. Used by EVFILT_SIGNAL, and also * shared by EVFILT_PROC (all knotes attached to p->p_klist) |