sqlite-amalgamation-3_6_16.zip
win32
msvc 2008 sp1

func sqlite3_open_v2() is called with 'flag' param = SQLITE_OPEN_FULLMUTEX | 
SQLITE_OPEN_READWRITE


in sqlite3_initialize() func winMutexInit() is indirectly called three times:
  1) in sqlite3MutexInit()
  2) in sqlite3PcacheInitialize()
  3) in sqlite3_os_init() (in func sqlite3_vfs_register())
so var winMutex_lock == 3

in sqlite3_shutdown() functions
  sqlite3PcacheShutdown()
  sqlite3_os_end()
  sqlite3MutexEnd()
are called, but sqlite3PcacheShutdown() and sqlite3_os_end() do not decrement 
var winMutex_lock
so when sqlite3MutexEnd() is called the var winMutex is still == 3, and mutexes 
are not destroyed
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to