Re: [sqlite] caching sqlite3_db_mutex()

2017-05-25 Thread Richard Hipp
On 5/25/17, Baruch Burstein wrote: > > Is it safe to cache the mutex pointer returned by > `sqlite3_db_mutex(sqlite3*)`? > Can/does the mutex pointer change thought the life of the `sqlite3` object? > I think so, yes. (Warning: This answer given in the early morning,

[sqlite] caching sqlite3_db_mutex()

2017-05-25 Thread Baruch Burstein
Hi, Is it safe to cache the mutex pointer returned by `sqlite3_db_mutex(sqlite3*)`? Can/does the mutex pointer change thought the life of the `sqlite3` object? Thanks, Baruch -- ˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ pɐǝɹ uɐɔ noʎ ɟı ___ sqlite-users