python icon indicating copy to clipboard operation
python copied to clipboard

Is client thread safe?

Open AstraLuma opened this issue 6 years ago • 2 comments

I suppose this should be considered a documentation bug.

Is varlink.Client thread-safe? Meaning, can the same client be used by multiple threads simultaneously?

AstraLuma avatar Jan 02 '20 17:01 AstraLuma

As a fallback, can the same client be used by multiple threads behind a mutex? (that is, one at a time)

AstraLuma avatar Jan 02 '20 17:01 AstraLuma

behind a mutex, yes

haraldh avatar Jan 24 '20 13:01 haraldh