aboutsummaryrefslogtreecommitdiffstats
path: root/.github/example.png
diff options
context:
space:
mode:
authorVäinö Mäkelä <vaino.o.makela@gmail.com>2020-09-12 09:00:59 +0300
committerVäinö Mäkelä <vaino.o.makela@gmail.com>2020-09-12 13:15:38 +0300
commitdd3410e61e303bd13e0e65b102f1fb86b09d0104 (patch)
tree4a171c79b8643503ebeed6cd7685d28896ed18e1 /.github/example.png
parentrefactoring (diff)
downloadkirc-dd3410e61e303bd13e0e65b102f1fb86b09d0104.tar.gz
kirc-dd3410e61e303bd13e0e65b102f1fb86b09d0104.tar.bz2
kirc-dd3410e61e303bd13e0e65b102f1fb86b09d0104.tar.xz
kirc-dd3410e61e303bd13e0e65b102f1fb86b09d0104.tar.zst
kirc-dd3410e61e303bd13e0e65b102f1fb86b09d0104.zip
Use poll instead of multiple processes
The old approach used 100% CPU on two processes. Poll can be used to wait stdin and the socket at the same time. This commit also reduces system call usage by not calling read for every byte.
Diffstat (limited to '.github/example.png')
0 files changed, 0 insertions, 0 deletions