[Home] [Groups] - Message: [Prev in Group] [Next in Group]

nu.kanga.list.mud-dev

19574: RE: [MUD-Dev] Multithreaded servers using objects

[Full Header] [Plain Text]
From: "Chambers" <CHAMBERB@MARIST.COM>
Newsgroups: nu.kanga.list.mud-dev
Date: Wed, 16 May 2001 14:42:39 -0400
Organization: Kanga.Nu
"David Loeser" <daklozar@home.com> 05/14/01 10:22PM >>>

> -----Original Message-----
> From: Chambers
> Sent: Monday, May 14, 2001 1:46 PM
> To: mud-dev@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@kanga.nu
https://www.kanga.nu/lists/listinfo/mud-dev