Status update:
Meanwhile we can launch Yoshimi as a subprocess, with connected I/O pipes.
I use a dedicated reader thread to receive the output of the test subject,
while the main thread will provide conditions on that input and block on a
future (with timeout) until these conditions are met. This incurs the danger
of deadlock when blocking while the child dies. Currently I am mulling over
various workarounds, nonblocking reads with timeout being one option, and
thus right now I am fighting with the gory details of non-blocking reads,
using the underlying POSIX functions.

-- Hermann





_______________________________________________
Yoshimi-devel mailing list
Yoshimi-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/yoshimi-devel

Reply via email to