4 ms·
In that case you can add signals and send threads to sleep if there is not enough elements on the stack, and wake them up if the stack starts growing faster.
by readerrrr 12y ago
In that case you can add signals and send threads to sleep if there is not enough elements on the stack, and wake them up if the stack starts growing faster.
- jacquesm 12y agoBut you're still burning more cycles, this isn't just about spinning read threads without input.