[go: up one dir, main page]

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

Question: Is this library routine-safe? #350

Closed
lv-zheng opened this issue Nov 7, 2016 · 2 comments
Closed

Question: Is this library routine-safe? #350

lv-zheng opened this issue Nov 7, 2016 · 2 comments

Comments

@lv-zheng
Copy link
lv-zheng commented Nov 7, 2016

Can I use one database handler in multiple routines concurrently? Or should I open a handler per routine?

@mattn
Copy link
Owner
mattn commented Nov 7, 2016

select query should work but insert/update maybe not without mutex.

@lv-zheng
Copy link
Author
lv-zheng commented Nov 7, 2016

I think this can be mentioned in FAQ, as there are many issues about concurrency, to name a few, #50, #209, #51

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

No branches or pull requests

2 participants