List pagination locking for state-data changes
Changed semantics of locking: instead of relying of locking running-db, an automatic lock bound to a session is maintained. When the session closes the lock is released.
This commit is contained in:
parent
197fc16e69
commit
eea6d549f6
5 changed files with 25 additions and 19 deletions
|
|
@ -38,6 +38,11 @@
|
|||
#ifndef _CLIXON_BACKEND_PLUGIN_H_
|
||||
#define _CLIXON_BACKEND_PLUGIN_H_
|
||||
|
||||
/*
|
||||
* Constants
|
||||
*/
|
||||
#define PAGINATE_STATE_LOCK "paginate-state-lock"
|
||||
|
||||
/*
|
||||
* Types
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue