You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The communication between the C++ code and the NodeJS code is changed. Since NodeJS buffers the data from the C++ stdout and passes incomplete messages to the NodeJS childProcess.on("data") we had to "parse" the buffered data and get the complete messages from it. This problem only occurs when the C++ starts to print messages too fast on the stdout.
The whole print method is now locked with mutex. This was necessary because we noticed some interleaved messages when multiple threads were writing on the stdout very fast on Windows.