diff options
author | Frédéric Brière <fbriere@fbriere.net> | 2019-06-29 08:31:08 -0400 |
---|---|---|
committer | Frédéric Brière <fbriere@fbriere.net> | 2019-06-29 19:48:27 -0400 |
commit | 18f2b023bc2c1ea84e7690b604c196580ac8f110 (patch) | |
tree | 3578fe3a26deead00a67688f7731d617a8e1ce2d /src/parser/hdr_rseq.h | |
parent | d26fa24087265dd4e9dccf0db261da0e6f093c8e (diff) | |
download | twinkle-18f2b023bc2c1ea84e7690b604c196580ac8f110.tar twinkle-18f2b023bc2c1ea84e7690b604c196580ac8f110.tar.gz twinkle-18f2b023bc2c1ea84e7690b604c196580ac8f110.tar.lz twinkle-18f2b023bc2c1ea84e7690b604c196580ac8f110.tar.xz twinkle-18f2b023bc2c1ea84e7690b604c196580ac8f110.zip |
Make Readline non-blocking: Use a self-pipe to break the Readline loop
Now that we are no longer blocking on Readline calls, we can set up a
self-pipe that will let us break out of the Readline loop upon receiving
a "quit" command on our local socket, thus (finally) fixing issue #143.
(Thanks to https://stackoverflow.com/a/27662212 for the tip!)
Fixes #143
Diffstat (limited to 'src/parser/hdr_rseq.h')
0 files changed, 0 insertions, 0 deletions