stefan kersten wrote:
that's not true. you can do pretty complex things, but you need to defer non-realtime-safe operations to the nrt thread via asynchronous commands. have a look at SC_SequencedCommand.cpp, at the bottom.
ah, excellent! i have a semi-working version using this, but it still hangs the server because i have to start an event loop to get new bluetooth events from the device. that takes over and the server hangs.
i have tried starting up a new pthread to run the event loop in, but that seems to crash the server. i will keep playing, but in the meantime, do you have any more advice?