mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-08 14:02:16 +03:00
Expand the header comment to clarify the purpose for the
sqlite3MemoryBarrier() function. FossilOrigin-Name: b89495ae09aa0e9652475b2ba1943dfd87c73e07
This commit is contained in:
@@ -78,7 +78,9 @@ static int winMutexNotheld(sqlite3_mutex *p){
|
||||
#endif
|
||||
|
||||
/*
|
||||
** Try to provide a memory barrier operation, needed for initialization only.
|
||||
** Try to provide a memory barrier operation, needed for initialization
|
||||
** and also for the xShmBarrier method of the VFS in cases when SQLite is
|
||||
** compiled without mutexes (SQLITE_THREADSAFE=0).
|
||||
*/
|
||||
void sqlite3MemoryBarrier(void){
|
||||
#if defined(SQLITE_MEMORY_BARRIER)
|
||||
|
Reference in New Issue
Block a user