Thread-safe single-machine chat server with channels
Build an in-process chat system where many clients join channels and post messages that the other members receive. Make it correct under concurrent senders and receivers, and explain your locking choices.
No answer yet. Write the first one; the best answer gets endorsed.
