Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Concurrency Test to prove failure on iOS #537

Merged
merged 1 commit into from
May 25, 2017

Conversation

JeroenBer
Copy link
Contributor

Hi,
I had some multithreaded concurrency issues on iOS. I wrote and added this unittest to reproduce the issues. The unittest only fails on iOS, not on UWP, Android and MacOS.

It seems that SQLite on iOS should be thread safe (it's compiled threadsafe, I checked sqlite3_threadsafe). However if you are using SQLite multithreaded with Read and ReadWrite connections this fails. Only using ReadWrite connection then there is not problem.

Any ideas on this ?

Regards,
Jeroen

@praeclarum
Copy link
Owner

I have to admit I don't know what's going on with this failure.

Thank you very much for the test case. I will have to study its results.

@praeclarum praeclarum merged commit 0f2e366 into praeclarum:master May 25, 2017
@JeroenBer
Copy link
Contributor Author

Ok thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants