[Home] [Groups] - Message: [Prev in Group] [Next in Group]

nu.kanga.list.mud-dev

15745: RE: [MUD-Dev] Atomic functions

[Full Header] [Plain Text]
From: "Felix A. Croes" <felix@dworkin.nl>
Newsgroups: nu.kanga.list.mud-dev
Date: Fri, 17 Nov 2000 12:26:22 +0100 (CET)
Organization: Kanga.Nu
"Christopher Allen" <ChristopherA@skotos.net> wrote:

>[...]
> Even this could be caught by good coding, however, the real value of atomic
> functions is not in a single-processor environment. The work that Felix has
> been doing in DGD is leading toward being able to code as if you were in a
> single threaded environment, however, if some other processor pulls the rug
> out from underneath your code, it will just rewind and start over. Thus the
> true value of atomic functions is that they enable multiprocessing.

If by that you mean that I can re-use more than half of the code I used
to implement atomic functions for multi-processing with the C&C thread
model, you are correct.

However, I now think of atomic functions as the more valuable feature
for a MUD server, especially in the long term.  Only time will tell.

Regards,
Felix Croes

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