xmos / lib_spdif

S/PDIF Library
Other
10 stars 16 forks source link

Use terminate_flag instead of os._exit to terminate the threads #67

Closed shuchitak closed 4 months ago

shuchitak commented 4 months ago

The spdif tx tests fail on MacOS with prints missing for the last few frames when the Spdif_rx.run() terminates with os._exit. Terminating it by setting the SimThread::terminate_flag to True makes the prints get rendered properly and the tests pass.