persistentstorage/sqlite3api/OsLayer/os_symbian.h
changeset 17 55f2396f6d25
parent 0 08ec8eefde2f
child 31 ba1c4f4a893f
equal deleted inserted replaced
15:3eacc0623088 17:55f2396f6d25
   115 The difference between fast and recursive mutextes is that the recursive mutexes can be entered mutiple times
   115 The difference between fast and recursive mutextes is that the recursive mutexes can be entered mutiple times
   116 by the same thread. The OS porting layer makes no difference between fast and recursive mutexes at the moment.
   116 by the same thread. The OS porting layer makes no difference between fast and recursive mutexes at the moment.
   117 Whether the SQLite requests fast or ecursive mutex, a recursive mutex will be created.
   117 Whether the SQLite requests fast or ecursive mutex, a recursive mutex will be created.
   118 The recursive mutex creation can fail, in which case the error will be reported back to the caller.
   118 The recursive mutex creation can fail, in which case the error will be reported back to the caller.
   119 
   119 
   120 Note that even though sqlite3_mutex has vritual methods, it is not declared as a "C" class because sqlite3_mutex
   120 Note that even though sqlite3_mutex has virtual methods, it is not declared as a standard Symbian OS "C" class 
   121 is an externally defined type by SQLite.
   121 because sqlite3_mutex is an abstract type, externally declared and used by SQLite (SQLite is a C library).
       
   122 SQLite deals only with pointers to sqlite3_mutex objects. See the declaration in sqlite3.h file. 
   122 
   123 
   123 @see TPls
   124 @see TPls
   124 @see CRecursiveMutex
   125 @see CRecursiveMutex
   125 @see TStaticMutex
   126 @see TStaticMutex
   126 
   127 
   142 	};
   143 	};
   143 
   144 
   144 /**
   145 /**
   145 sqlite3_mutex derived class. Describes a recursive mutex.
   146 sqlite3_mutex derived class. Describes a recursive mutex.
   146 The mutex creation can fail, the error will be reported back to the caller.
   147 The mutex creation can fail, the error will be reported back to the caller.
       
   148 
       
   149 This is not a standard Symbian OS "C" class, not derived from CBase.
       
   150 CRecursiveMutex is a specialization of the sqlite3_mutex class, used for recursive mutexes. 
   147 
   151 
   148 @see sqlite3_mutex
   152 @see sqlite3_mutex
   149 
   153 
   150 @internalComponent
   154 @internalComponent
   151 */
   155 */