[MUD-Dev] request for comments

JC Lawrence claw at under.Eng.Sun.COM
Fri Jan 9 19:23:09 CET 1998


On Thu, 8 Jan 1998 05:14:17 PST8PDT 
Miroslav Silovic<silovic at zesoi.fer.hr> wrote:

> Mike Sellers <mike at online-alchemy.com> writes:

>> At 05:03 PM 1/6/98 PST8PDT, JC Lawrence wrote: 

>>> To describe my system loosely, and briefly: The server is heavily
>>> multi-threaded (I think the idle-state is over >50 threads
>>> currently).  All events are processed aynchoinously and in
>>> parallel.  The server is lockless.  I don't guarantee order of
>>> execution of two unrelated events.

>> So... without recapitulating the flamage on this that occurs
>> regularly in r.g.m.*, how do you handle things like the "Dragon's
>> Dinner" scenario, where the player thinks she has closed the door
>> behind her, but then is surprised when she is fried by the dragon
>> anyway (who, in this race condition, saw the door as "open" and
>> went through)?  In a truly lockless system, aren't race conditions
>> inevitable?

> This is likely to show up in the FAQ, isn't it? ;) 

It certainly is good FAQ material.  I'll dig out or write up a summary
of my system for the FAQ.

> Also, it's in the
> archives of this mailing list, where the problem has been beaten to
> death, with several good solutions.

True.  Anyone else want to offer a FAQ entry for their solution?

--
J C Lawrence                               Internet: claw at null.net
                                           Internet: coder at ibm.net
----------(*)                        Internet: jc.lawrence at sun.com
...Honourary Member of Clan McFud -- Teamer's Avenging Monolith...



More information about the mud-dev-archive mailing list