<br><br><div class="gmail_quote">2009/11/27 Rémi Denis-Courmont <span dir="ltr"><<a href="mailto:remi@remlab.net">remi@remlab.net</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Le vendredi 27 novembre 2009 05:10:26 Srikanth Raju, vous avez écrit :<br>
<div><div></div><div class="h5">> Hi,<br>
><br>
> First patch is to fix the core definition of RollbackTransaction.<br>
><br>
> I fixed the Rollback issue by including a busy handler which retries the<br>
> failed rollback( and any other statements that failed due to Busy errors ).<br>
> There is a test when opening the database to check if the library is<br>
> threadsafe.<br>
<br>
</div></div>Shouldn't the thread safety test be made before opening the DB?</blockquote><div>Correct. Done.<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Are both locks<br>
still needed?<br>
<font color="#888888"><br></font></blockquote><div>Yup. Threadsafety in sqlite is only on a connection basis. So only if there are many connections to sqlite, it will be threadsafe. Using the regular lock will serialise access through a single connection in vlc.<br>
 <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><font color="#888888">
--<br>
</font><div class="im">Rémi Denis-Courmont<br>
<a href="http://www.remlab.net/" target="_blank">http://www.remlab.net/</a><br>
_______________________________________________<br>
</div><div><div></div><div class="h5">vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Srikanth Raju<br>