Skip to content

v0.2.0

Compare
Choose a tag to compare
@TsvetanMilanov TsvetanMilanov released this 14 Feb 13:31

Version 0.2.0 changes:

  • 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.