| 7 | | * xcache_get - add an extra param that will set LOCK on item if it doesn't exist. Data can't be getted when lock is in place - function should wait until lock is released or some timeout expires to clean forgotten locks. |
| 8 | | * xcache_set - add an extra param that will release lock on data setting. |
| 9 | | * xcache_isset - it makes sense to add param for LOCK setting if item doesn't exist like with xcache_get. This will enable for check if item exists and if not - lock it and create. |
| | 7 | * xcache_get - add an extra param that will set LOCK on item if it doesn't exist. Data can't be getted when LOCK is in place - function should wait until LOCK is released or some timeout expires to clean forgotten locks. |
| | 8 | * xcache_set - automatically release LOCK when called by process witch set it. Maybe it can be an extra param for function to avoid checking for locks on each call. |
| | 9 | * xcache_isset - add an extra param for setting LOCK. This will enable checking item for existence and if not - place a lock and create it with xcache_set. |