Of course, it is possible, yes, if the I / O stream is blocked by another stream that performs the output.
Do not use what you mean by "short-term planner." The console thread is likely to be protected by the mutex and blocked / unlocked by threads in the "normal" way when they request I / O.
source
share