mirror of https://github.com/adamdruppe/arsd.git
windows
This commit is contained in:
parent
f43729fef8
commit
15491784cf
4
cgi.d
4
cgi.d
|
@ -5807,9 +5807,9 @@ final class ScheduledJobServerImplementation : ScheduledJobServer, EventIoServer
|
||||||
ev.data.ptr = op;
|
ev.data.ptr = op;
|
||||||
if(epoll_ctl(epoll_fd, EPOLL_CTL_ADD, fd, &ev) == -1)
|
if(epoll_ctl(epoll_fd, EPOLL_CTL_ADD, fd, &ev) == -1)
|
||||||
throw new Exception("epoll_ctl " ~ to!string(errno));
|
throw new Exception("epoll_ctl " ~ to!string(errno));
|
||||||
}
|
|
||||||
|
|
||||||
jobs[nj] = job;
|
jobs[nj] = job;
|
||||||
|
} else assert(0);
|
||||||
return nj;
|
return nj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue