sure, just changing it to 'usleep(10000)' works too. Is there a reason to avoid the ringbuffer infrastructure?