[MUD-Dev] Question about multithreaded servers

J C Lawrence claw at kanga.nu
Sun Jan 30 13:27:07 New Zealand Daylight Time 2000

On Sun, 16 Jan 2000 13:11:40 -0600 
Fabian  <lemkef at execpc.com> wrote:

> I wasn't planning on having a fully transactional-based system, or
> otherwise, that is surely the most attractive and elegant
> approach.  I may just have to cut that ability out, or find a way
> to reorganize it where it will fail gracefully if a lock attempt
> times-out.  

I don't know the circumstatnces that generate a script referencing
out-of-area objects, but have you considered the hack of hacing such
scripts split themselves at runtime into multiple scripts, and
there-fore multiple threads of execution, one per area?  Thus a
script which referenced objects in its own area, and objects in
areas A, B and C, you log scripts with the executor thread for areas
A, B, and C to do <whatever>, and then continue on its own way to
process its own objects.

J C Lawrence                                 Home: claw at kanga.nu
----------(*)                              Other: coder at kanga.nu
--=| A man is as sane as he is dangerous to his environment |=--

MUD-Dev maillist  -  MUD-Dev at kanga.nu

More information about the MUD-Dev mailing list