Untitled
unknown
c_cpp
5 months ago
156 B
4
Indexable
item nextProduced; while (1) { while (counter == BUFFER_SIZE); /* do nothing */ buffer[in] = nextProduced; in = (in + 1) % BUFFER_SIZE; counter++; }
Editor is loading...
Leave a Comment
item nextProduced; while (1) { while (counter == BUFFER_SIZE); /* do nothing */ buffer[in] = nextProduced; in = (in + 1) % BUFFER_SIZE; counter++; }