On Tue, 2 Sep 2008, Christine Caulfield wrote: > This patch adds key_increment and key_decrement calls to the objdb and > confdb subsystems. > > This is useful to provide atomic counters (ag handle numbers) for > long-running (though not persistent) connections. It's not currently > possible via confdb to atomically get a new number from objdb due to the > lack of locking. Doing it via increment operations in the IPC thread > provides enough atomicity to make it useful. Fabio has already > identified a use for these calls.
two.. at least. > > It could also provide some form of basic co-operative locking mechanism > for IPC-using processes (not direct objdb calls). > > Chrissie > works fine here for me. Acknoledge and good to go in svn. Fabio -- I'm going to make him an offer he can't refuse. _______________________________________________ Openais mailing list [email protected] https://lists.linux-foundation.org/mailman/listinfo/openais
