Re: sleeping/running

From: d. hall (dhall@illusion.apk.net)
Date: 03/25/96


-----BEGIN PGP SIGNED MESSAGE-----

// thus on Mon, 25 Mar 1996 17:20:01 -0500 (EST), Mike virtually wrote:

Mike> Even users local to the machine ie: telneting in on the machines
Mike> subnet have encountered these lockups. Anyone have any ideas or had a
Mike> similar problem on their mud? I am not using any blocking functions
Mike> like ident that I know of. Please help... I am really starting to
Mike> worry.

If you look in comm.c you'll find the section, in the game_loop function
you'll find a sleep conditional.  Basically the mud sleeps if no
connections exist (goes idle while setting up a signal handler to wake it
up when a connection happens).  As to why your mud is going to sleep in mid
execution, that seems rather strange, unless you're wiping out your
descriptor list (which in comm.c is one of the ways circle knows when to go
to sleep).  You might want to gdb and then set watches in about this
section to analyze where the conditional is taking the source.

d.
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface

iQCVAwUBMVcfkoX26urqpgG1AQFiQgQA6vmsv4uO7XAsobqcllZqKYrvyzkfUCur
9R8ZxYMiMc8qi+p1mXWJOqAAwwZcQAGqaSCJHQEVLbMgjCfPUqrtXI1e0IAYS87p
Mq+B0AD+Bw0pTfZ5vvb6Up6ya8cDApQMExWujFZQ1mYXYXKg710dq0MzSJ0Cdxkl
pZy1DfGea3U=
=uWc4
-----END PGP SIGNATURE-----
--
			``Our love is like water
			  Pinned down and abused
			     For being strange''

				~ live, all over you



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