Quote:
Originally Posted by GameHacker-PM-
Good info, but is there anyway or another thing can do what threads do but better than them?!
|
It depends on the architecture of your server. If your server uses an asynchronous socket system, then it already tries to manage clients using a number of worker threads that maximizes efficiency (in theory). As far as threads unique to the client, I try to completely avoid that when I can program my server, and make threads that manage the data pools instead. For example, I have a thread for characters, a thread for maps / monsters, a thread for server maintenance / events, etc.