kshareddatacache_p.h File Reference
#include <config.h>#include <QtCore/QSharedPointer>#include <unistd.h>#include <time.h>#include <kdebug.h>
Include dependency graph for kshareddatacache_p.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
| class | KSDCLock |
| This class defines an interface used by KSharedDataCache::Private to offload proper locking and unlocking depending on what the platform supports at runtime and compile-time. More... | |
| struct | SharedLock |
Enumerations | |
| enum | SharedLockId { LOCKTYPE_MUTEX = 1, LOCKTYPE_SEMAPHORE = 2 } |
Functions | |
| static KSDCLock * | createLockFromId (SharedLockId id, SharedLock &lock) |
| static SharedLockId | findBestSharedLock () |
Enumeration Type Documentation
| enum SharedLockId |
Definition at line 239 of file kshareddatacache_p.h.
Function Documentation
| static KSDCLock* createLockFromId | ( | SharedLockId | id, |
| SharedLock & | lock | ||
| ) | [static] |
Definition at line 345 of file kshareddatacache_p.h.
| static SharedLockId findBestSharedLock | ( | ) | [static] |
This is a method to determine the best lock type to use for a shared cache, based on local support.
An identifier to the appropriate SharedLockId is returned, which can be passed to createLockFromId().
Definition at line 270 of file kshareddatacache_p.h.
KDE 4.6 API Reference