Relative Content

Tag Archive for cmultithreadingnetwork-programmingthread-safetypthreads

How to store handle messages in chat server

I am designing a chat server in C that uses a thread-pool + event polling. When a read event is detected, a thread processes that message, but I’m not sure how to store it.