Skip to content
This repository has been archived by the owner on Apr 6, 2019. It is now read-only.

Multithreading considerations ? #191

Open
Sunslash opened this issue Jul 30, 2018 · 0 comments
Open

Multithreading considerations ? #191

Sunslash opened this issue Jul 30, 2018 · 0 comments

Comments

@Sunslash
Copy link

Hello,

First, I would like to thank you for this very nice library, it has helped us in many ways already.

We have a project where we have a single cpp_redis::client instance shared by multiple threads. It seems to be working, but I would like to ensure that we are not doing anything wrong.
Could you tell me which functions should be protected by a mutex in our application ? I guess that connect() is a prime candidate, but I'm not sure about sync_commit and commit.

Regards

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

No branches or pull requests

1 participant