mirror_corosync/exec
Christine Caulfield 1d2d771f99 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).



git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1662 fd59a12c-fef9-0310-b244-a6a79926bd2f
2008-09-03 07:58:08 +00:00
..
apidef.c This patch adds key_increment and key_decrement calls to the objdb and 2008-09-03 07:58:08 +00:00
apidef.h Revert patch 1633 which breaks build. 2008-08-14 16:44:26 +00:00
coroparse.c Proper rename of openais usage to corosync throughout tree. 2008-08-14 16:54:46 +00:00
coropoll.c Revert patch 1633 which breaks build. 2008-08-14 16:44:26 +00:00
crypto.c Finish the renaming of openais to corosync in the tree. 2008-08-15 06:15:26 +00:00
crypto.h Split openais and corosync tree into two seperate repositories. 2008-08-05 13:23:46 +00:00
flow.c Proper rename of openais usage to corosync throughout tree. 2008-08-14 16:54:46 +00:00
flow.h Proper rename of openais usage to corosync throughout tree. 2008-08-14 16:54:46 +00:00
ipc.c Provide a way to configure (at compile time) message and queue sizes. 2008-08-20 00:57:40 +00:00
ipc.h Proper rename of openais usage to corosync throughout tree. 2008-08-14 16:54:46 +00:00
logsys.c Finish the renaming of openais to corosync in the tree. 2008-08-15 06:15:26 +00:00
main.c Finish the renaming of openais to corosync in the tree. 2008-08-15 06:15:26 +00:00
main.h Provide a way to configure (at compile time) message and queue sizes. 2008-08-20 00:57:40 +00:00
mainconfig.c Proper rename of openais usage to corosync throughout tree. 2008-08-14 16:54:46 +00:00
mainconfig.h Proper rename of openais usage to corosync throughout tree. 2008-08-14 16:54:46 +00:00
Makefile Finish the renaming of openais to corosync in the tree. 2008-08-15 06:15:26 +00:00
mempool.c Revert patch 1633 which breaks build. 2008-08-14 16:44:26 +00:00
mempool.h Revert patch 1633 which breaks build. 2008-08-14 16:44:26 +00:00
objdb.c This patch adds key_increment and key_decrement calls to the objdb and 2008-09-03 07:58:08 +00:00
service.c Proper rename of openais usage to corosync throughout tree. 2008-08-14 16:54:46 +00:00
service.h Finish the renaming of openais to corosync in the tree. 2008-08-15 06:15:26 +00:00
sync.c Proper rename of openais usage to corosync throughout tree. 2008-08-14 16:54:46 +00:00
sync.h Revert patch 1633 which breaks build. 2008-08-14 16:44:26 +00:00
timer.c Finish the renaming of openais to corosync in the tree. 2008-08-15 06:15:26 +00:00
timer.h Proper rename of openais usage to corosync throughout tree. 2008-08-14 16:54:46 +00:00
tlist.h Revert patch 1633 which breaks build. 2008-08-14 16:44:26 +00:00
totemconfig.c Provide a way to configure (at compile time) message and queue sizes. 2008-08-20 00:57:40 +00:00
totemconfig.h Revert patch 1633 which breaks build. 2008-08-14 16:44:26 +00:00
totemip.c Finish the renaming of openais to corosync in the tree. 2008-08-15 06:15:26 +00:00
totemmrp.c Revert patch 1633 which breaks build. 2008-08-14 16:44:26 +00:00
totemmrp.h Revert patch 1633 which breaks build. 2008-08-14 16:44:26 +00:00
totemnet.c Revert patch 1633 which breaks build. 2008-08-14 16:44:26 +00:00
totemnet.h Revert patch 1633 which breaks build. 2008-08-14 16:44:26 +00:00
totempg.c Revert patch 1633 which breaks build. 2008-08-14 16:44:26 +00:00
totemrrp.c Revert patch 1633 which breaks build. 2008-08-14 16:44:26 +00:00
totemrrp.h Revert patch 1633 which breaks build. 2008-08-14 16:44:26 +00:00
totemsrp.c Zero out unused totemsrp my_proc_list entries 2008-08-20 01:07:29 +00:00
totemsrp.h Revert patch 1633 which breaks build. 2008-08-14 16:44:26 +00:00
util.c Fix to display strings safely in debug messages. 2008-08-20 01:00:44 +00:00
util.h Proper rename of openais usage to corosync throughout tree. 2008-08-14 16:54:46 +00:00
version.h Split openais and corosync tree into two seperate repositories. 2008-08-05 13:23:46 +00:00
vsf_ykd.c Proper rename of openais usage to corosync throughout tree. 2008-08-14 16:54:46 +00:00
vsf.h Proper rename of openais usage to corosync throughout tree. 2008-08-14 16:54:46 +00:00
wthread.c aisexec crash on exit 2008-08-20 01:02:43 +00:00
wthread.h Split openais and corosync tree into two seperate repositories. 2008-08-05 13:23:46 +00:00