[MUD-Dev] Multithreaded servers using objects

Chambers CHAMBERB at MARIST.COM
Wed May 16 14:42:39 CEST 2001


"David Loeser" <daklozar at home.com> 05/14/01 10:22PM >>>

> -----Original Message-----
> From: Chambers
> Sent: Monday, May 14, 2001 1:46 PM
> To: mud-dev at kanga.nu=20
> Subject: [MUD-Dev] Multithreaded servers using objects

> Yes, it is possible to do your threading within member functions. I
> can send you an example of how to do this if you would like.

Yes, please send me an example

> I suggest you not spin off multiple threads of the server
> class. This isn't very scalable and multiple threads on a single
> processor can be problematic.  Essentially, with too many threads,
> the task switching at the OS level would be enough to 'kill' the
> server.

> I think there is another thread discussing the use of I/O completion
> ports that may interest you. There are also knowledge base articles
> on the MSDN site.

I started that one.

Dave "Dak Lozar" Loeser
_______________________________________________
MUD-Dev mailing list
MUD-Dev at kanga.nu
https://www.kanga.nu/lists/listinfo/mud-dev



More information about the mud-dev-archive mailing list