mirror of
https://github.com/akuker/RASCSI.git
synced 2024-12-22 15:30:09 +00:00
improving stdout for logging by disabling buffering
This commit is contained in:
parent
dbf78b772b
commit
e42adab4f9
@ -1121,6 +1121,8 @@ int main(int argc, char* argv[])
|
||||
DWORD now;
|
||||
BUS::phase_t phase;
|
||||
BYTE data;
|
||||
// added setvbuf to overtime stdout buffering, so logs are written immediately and not when the process exits.
|
||||
setvbuf(stdout, NULL, _IONBF, 0);
|
||||
#ifndef BAREMETAL
|
||||
struct sched_param schparam;
|
||||
#endif // BAREMETAL
|
||||
|
Loading…
Reference in New Issue
Block a user