nitter
𦣠@dalias@hachyderm.io π¦£
@RichFelker
11 Sep 2017
So lots of unix old-timers think stdio is unsuitable for interactive & async apps due to blocking, but there's an easy solution. Thread.
2
10
28
Daniel Silverstone ππππΒ² π³οΈβππ¬π§
@dsilverstone
11 Sep 2017
Replying to
@RichFelker
@fanf
Erm, or use them non-blocking?
Sep 11, 2017 Β· 9:00 PM UTC
1
𦣠@dalias@hachyderm.io π¦£
@RichFelker
11 Sep 2017
Replying to
@dsilverstone
@fanf
Maybe joke went over head, but to answer anyway, there's no nonblocking way to use stdio.
1
2
Daniel Silverstone ππππΒ² π³οΈβππ¬π§
@dsilverstone
12 Sep 2017
if you mean ANSI FILEβ streams then I suppose not. But then again there's no threads in ANSI C either.
1
more replies