[MUD-Dev] Re: TECH: Distributed Muds

Kwon Ekstrom justice at softhome.net
Mon Apr 30 09:42:57 New Zealand Standard Time 2001


----- Original Message -----
From: "Chris Gray" <cg at ami-cg.GraySage.COM>

> In any case, do you really want to have no limit on softcode
> execution?  No matter how many threads you give to your execution
> system, if the bad softcode is hit enough, you are still in
> trouble. Not only in the CPU usage, but possibly also in the memory
> tied up and maybe even locks held.

In the multi-threaded system, logging whenever softcode takes too much
cpu time would be a better approach imho.  A timeout might work, but
if you're in the middle of a delicate operation that modifies values
that may be used by other computations, it could result in bad data
being passed, and that IMHO would be worst than the cpu time.
Softcode's purpose is to allow parts of the game to be modified
online, and bad code could be corrected somewhat easily (depending on
circumstances of course)

-- Kwon Ekstrom

_______________________________________________
MUD-Dev mailing list
MUD-Dev at kanga.nu
https://www.kanga.nu/lists/listinfo/mud-dev



More information about the MUD-Dev mailing list