mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-09 16:14:40 +00:00
Use Channel(UNLIMITED) as a lock-free send queue and AtomicBoolean with atomic exchange for the isSending flag, eliminating all synchronized blocks while maintaining thread safety via a double-check pattern. https://claude.ai/code/session_01KLRz7FJgWRtgCcZe3qD1VX