This commit is contained in:
BuildTools 2019-02-22 09:27:41 -05:00
parent b5694adbe7
commit 953f1a0ea9

View File

@ -225,6 +225,8 @@ static unsigned int kq_calloutmax = 4 * 1024;
SYSCTL_UINT(_kern, OID_AUTO, kq_calloutmax, CTLFLAG_RW,
&kq_calloutmax, 0, "Maximum number of callouts allocated for kqueue");
#define KQ_DEBUG
#define KQ_LOCK(kq) do { \
mtx_lock(&(kq)->kq_lock); \
} while (0)