As noted there, if nrsc5_start is accidentally called after entering pipe mode with nrsc5_open_pipe, then the (unnecessary) worker thread enters into a busy loop. Here I've updated the API functions to skip all worker thread code in the pipe mode, so that API users can safely call nrsc5_start regardless of the mode. It will simply do nothing in the pipe mode.
This is an alternative to #325.
As noted there, if
nrsc5_start
is accidentally called after entering pipe mode withnrsc5_open_pipe
, then the (unnecessary) worker thread enters into a busy loop. Here I've updated the API functions to skip all worker thread code in the pipe mode, so that API users can safely callnrsc5_start
regardless of the mode. It will simply do nothing in the pipe mode.