Committed revision 1662.

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.
> 
> It could also provide some form of basic co-operative locking mechanism
> for IPC-using processes (not direct objdb calls).
> 
>

-- 

Chrissie
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to