Closed maggu2810 closed 10 years ago
The CircularByteBuffer function waitForData runs a loop as long as the condition "isEmpty() && running" is true. If the buffer is empty before the next check is done the loop will never end (as no more data is inserted in the buffer).
The CircularByteBuffer function waitForData runs a loop as long as the condition "isEmpty() && running" is true. If the buffer is empty before the next check is done the loop will never end (as no more data is inserted in the buffer).