3 ms·
I can't speak to the use case of TFA, but in some contexts where similar data structures are prominently used we park by spin waiting (which may include looking
by anonymoushn 4y ago
I can't speak to the use case of TFA, but in some contexts where similar data structures are prominently used we park by spin waiting (which may include looking at all our other queues) because we don't want to pay a bunch of microseconds of latency for actually being descheduled and resheduled again.
Maybe TFA is for embedded use?
- tialaramex 4y agoI don't see how spin waiting constitutes parking? In what sense is the execution context "parked" if in fact it's just spinning?
- couchand 4y agoNot the GP, but I read "we use spin waiting" as a response to "aren't you wasting a bunch of CPU cycles" in the sense that "yes, but it's the least bad option".