Hacker News new | ask | show | jobs
by kevin_thibedeau 1503 days 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.