4 ms·
You need an atomic_swap(), which at no point allows a situation to be observed whereby a pilot is not in a pilot's seat.
by kazinator 5y ago
You need an atomic_swap(), which at no point allows a situation to be observed whereby a pilot is not in a pilot's seat.
- salawat 5y agoWe tried that. Then two pilots looked at each other while they both got up, and a reaffirmation of non-proliferation happened. Now there is a pilot in the seat when the pilot gets up, it's just null. Up to the caller to handle the error.
- Stratoscope 5y agoIndeed, that pilot's seat met its caller in record time.