SQLite Forum

Mutex with Sqlite
Login
You don't do that.

Or rather, you should perhaps explain WHY you think you need to do that and why you think the builtin protection is insufficient and what it is, exactly, that you are trying to achieve.

In other words, what exactly and precisely is the problem you are seeing for which you think this could be a solution, and why do you think that?

Putting the solution before the problem is almost always the wrong way to look for a solution.  Preconceptions and assumptions might not be correct.