2 ms·
This creates an ambiguity for testing the full and empty conditions. You end up having to store an additional atomic flag to track that state.
by kevin_thibedeau 5y ago
This creates an ambiguity for testing the full and empty conditions. You end up having to store an additional atomic flag to track that state.