varlink / python

Python implementation of the Varlink protocol
https://varlink.org/python/
Apache License 2.0
43 stars 8 forks source link

Is client thread safe? #24

Open AstraLuma opened 4 years ago

AstraLuma commented 4 years ago

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 commented 4 years ago

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

haraldh commented 4 years ago

behind a mutex, yes