mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-05 15:55:57 +03:00
Expand the header comment to clarify the purpose for the
sqlite3MemoryBarrier() function. FossilOrigin-Name: b89495ae09aa0e9652475b2ba1943dfd87c73e07
This commit is contained in:
@@ -81,7 +81,9 @@ static int pthreadMutexNotheld(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 implementation of xShmBarrier in the VFS in cases
|
||||
** where SQLite is compiled without mutexes.
|
||||
*/
|
||||
void sqlite3MemoryBarrier(void){
|
||||
#if defined(SQLITE_MEMORY_BARRIER)
|
||||
|
Reference in New Issue
Block a user