MUD-Dev
mailing list archive

Other Periods  | Other mailing lists  | Search  ]

Date:  [ Previous  | Next  ]      Thread:  [ Previous  | Next  ]      Index:  [ Author  | Date  | Thread  ]

Re: [MUD-Dev] request for comments



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

> Mike Sellers <mike#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#null,net
                                           Internet: coder#ibm,net
----------(*)                        Internet: jc.lawrence#sun,com
...Honourary Member of Clan McFud -- Teamer's Avenging Monolith...



Other Periods  | Other mailing lists  | Search  ]