mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-10-06 03:38:23 +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