aboutsummaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-11-03 00:03:52 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-11-03 00:03:52 +0000
commitf00c5fdac6e395859cf4971e5b7fa778f24336cc (patch)
tree9fe94afd90f86c311802acc14fd79f80095348d3 /render.c
parentfdm: invert check to get rid of one level of indentation (diff)
term: asynchronous writes to slave
Make ptmx non-blocking. Then, when writing data to the slave would have blocked, use the FDM to asynchronously write the remaining data. This is done by enabling EPOLLOUT on ptmx, and enqueueing all outgoing data. The FDM handler will go through the enqueued data, and once all of it has been written, we turn off EPOLLOUT again (thus switching back to synchronous writes)
Diffstat (limited to 'render.c')
0 files changed, 0 insertions, 0 deletions