mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
Set the llvm standard output stream to be unbuffered. (#678)
This is particularly useful for the simulation when invokved inside Eclipse. Otherwise, you won't see the robot starting message.
This commit is contained in:
committed by
Peter Johnson
parent
12e96c6f13
commit
f02bb058bd
@@ -342,6 +342,7 @@ HAL_Bool HAL_Initialize(int32_t timeout, int32_t mode) {
|
||||
|
||||
setlinebuf(stdin);
|
||||
setlinebuf(stdout);
|
||||
llvm::outs().SetUnbuffered();
|
||||
|
||||
prctl(PR_SET_PDEATHSIG, SIGTERM);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user