mirror of https://github.com/adamdruppe/arsd.git
make event backup ui locks less likely
This commit is contained in:
parent
f017816d05
commit
065846dab8
|
@ -4414,6 +4414,10 @@ struct EventLoopImpl {
|
||||||
if(PosixFdReader* pfr = fd in PosixFdReader.mapping)
|
if(PosixFdReader* pfr = fd in PosixFdReader.mapping)
|
||||||
(*pfr).ready(flags);
|
(*pfr).ready(flags);
|
||||||
|
|
||||||
|
// we don't know what the user did in this timer, so we need to assume that
|
||||||
|
// there's X data to be flushed and potentially processed
|
||||||
|
forceXPending = true;
|
||||||
|
|
||||||
// or i might add support for other FDs too
|
// or i might add support for other FDs too
|
||||||
// but for now it is just timer
|
// but for now it is just timer
|
||||||
// (if you want other fds, use arsd.eventloop and compile with -version=with_eventloop), it offers a fuller api for arbitrary stuff.
|
// (if you want other fds, use arsd.eventloop and compile with -version=with_eventloop), it offers a fuller api for arbitrary stuff.
|
||||||
|
|
Loading…
Reference in New Issue