[DGD]atomic functions

Ludger Merkens balduin at uni-paderborn.de
Mon Sep 18 12:41:09 CEST 2000


On Sun, 17 Sep 2000, Stephen Schmidt wrote:

> On Sun, 17 Sep 2000, Felix A. Croes wrote:
> > Atomic functions are starting to become useful.
> 
> For the sake of the undereducated among us out here on the
> mailing list, can someone explain what an "atomic function"
> might be? Much appreciated...
> 
Think of it as a transaction with automatic rollback. (If you are used to
databases). In other words, an atomic funtion is granted to be executed
either completely or not at all. If for some reasons the code of a
function is stopped, e.g run out of ticks, all changes due to this
function are undone, state of the program is as if the atomic function
hasn't executed at all.

greetings
Ludger



List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list