On Sun, 1 Aug 2021 21:18:57 +0200 Ichthyostega <p...@ichthyostega.de> wrote:
>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 Interesting. Some time ago I experimented trying to get commands to Yoshimi via UDP. It worked, although it was only one way, and I never really pursued it. It injected text commands into the CLI in a similar manner to the RUN command. It still exists in the 'network' branch, and if you switch to that branch there is a primitive python client and info in the 'Util' directory. However the CLI code is not compilable - contains a broken merge :( -- Will J Godfrey _______________________________________________ Yoshimi-devel mailing list Yoshimi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/yoshimi-devel