[MUD-Dev] Re: Sockets and fibers

Adam J. Thornton adam at phoenix.Princeton.EDU
Wed Jan 20 12:54:00 New Zealand Daylight Time 1999

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 at princeton.edu 
"There's a border to somewhere waiting, and a tank full of time." - J. Steinman

More information about the MUD-Dev mailing list