[Home] [Groups] - Message: [Prev in Group] [Next in Group]
9426: [MUD-Dev] Re: Sockets and fibers
[Full Header] [Plain Text]
From: "Adam J. Thornton" <adam@phoenix.Princeton.EDU>
Newsgroups: nu.kanga.list.mud-dev
Date: Wed, 20 Jan 1999 12:54:00 -0500
References: [1]
Organization: Kanga.Nu
On Wed, Jan 20, 1999 at 09:11:06AM -0800, Caliban Tiresias Darklock wrote:
> Has anyone here looked at the possibilities of spawning a single thread
> which handles sockets and then using Microsoft's "fibers" to handle
> individual sockets? How much of the one-thread-per-socket problem would be
> solved by this? With the speed of modern computers, what are the real
> problems with just serialising the socket handling -- one thread with all
> the sockets, servicing each socket in turn for some small time slice?
>
> Yes, I know, writing MUD servers under Windows is Bad. Granted. All the
> same. ;)
How would this differ from a poll-and-select() model under a Real OS?
I suppose this really turns into a request about what a fiber is.
Adam
--
adam@princeton.edu
"There's a border to somewhere waiting, and a tank full of time." - J. Steinman