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,
before coffee!)

-- 
D. Richard Hipp
d...@sqlite.org
___
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users


[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 mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users