Re: Possible Bug?

From: Jeremy Elson (jelson@blaze.cs.jhu.edu)
Date: 07/13/95


> > > A friend and I have been working for a few days (heh) here on Circle, and
> > > Is going really well.  However I found something thats kind of odd.  Perh
> > > this is already a known bug or maybe not.  Anyway, when a player logs in,
> > > gets to the MOTD screen, where it gives you the *** PRESS RETURN: prompt
> > > the mud will basically grind to a halt until that player presses return.
> > > I really havent modified any code that should affect this.  For example, 
I
> > > have
> > > a one char on, messing around, etc.  bring in another and let it sit at t
his
> > > screen, and whammo, lockup.  HOwever, as soon as the player gets to the m
ain
> > > menu everything is fine.  Anyway please try this out and see if you get t
he
> > > same results.  If this is already a known bug, just ignore me. :)
> > 
> > Look in the FAQ.  Try defining POSIX_NONBLOCK_BROKEN at the top of comm.c
> > and see if that helps.  What operating system are you using?
> > 
>    Just out of curiosity, is this bug also in beta realease 7 ?

It is not a bug in the code.  Under some operating systems, where nonblocking
I/O is broken and does not work correctly (e.g., AIX v3.2), the MUD will
lock up due to the bug in the OS.  POSIX_NONBLOCK_BROKEN is a feature of
the MUD code that works around buggy operating systems.  Note that it
should not be used unless necessary because it makes the MUDs I/O a lot
less efficient.

Jeremy



This archive was generated by hypermail 2b30 : 12/07/00 PST