[MUD-Dev] Multithreaded sockets

Draymoor a Vin il'Rogina draymoor at cloud9.net
Sun Jun 2 15:31:13 New Zealand Standard Time 2002


I was looking through the archives and came across a post in which
it was suggested that a thread for game logic and a thread for
descriptor input would be ideal, on a dual processor machine. Right
now, I have a thread for each descriptor to recieve input from
blocking sockets, a thread to accept new descriptors and parse
input, and a thread for the game logic. I'm running on a single
processor machine, though hopefully soon it'll be a double
processor.  Is having this many threads a bad idea?

Thanks,

| Philip Loguinov
| Draymoor a Vin il'Rogina
| Head Coder/Admin: Nirvana Project
| http://drayworks.dhs.org



_______________________________________________
MUD-Dev mailing list
MUD-Dev at kanga.nu
https://www.kanga.nu/lists/listinfo/mud-dev



More information about the MUD-Dev mailing list