You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
struct timespec timeout = { 1, 0 }; // 1 second timeout. Should be longer, but we need this thread to exit when a kqueue is dealloced, so 1 second timeout is quite a while to wait.
217
+
// no timeout needed. Instead of polling every second, we can pass NULL to wait indefinitely
218
+
// for vnode events or for an EVFILT_USER event to stop the thread.
216
219
int theFD = _coreQueueFD; // So we don't have to risk accessing iVars when the thread is terminated.
0 commit comments