Commits


Zhijun Fu authored and Wes McKinney committed 726f90f9828
ARROW-5533: [C++] [Plasma] make plasma client thread safe Make plasma client thread safe, so it's guaranteed when the PlasmaBuffer for an object destructs, the call to plasma_client.Release(object_id) is properly protected. Refer to [here](https://github.com/ray-project/ray/pull/4922#discussion_r291422782) for background. @robertnishihara @pcmoritz Author: Zhijun Fu <pingfu.fzj@antfin.com> Closes #4503 from zhijunfu/plasma-client-mutex and squashes the following commits: ee2575a21 <Zhijun Fu> fix merge 217c31d77 <Zhijun Fu> Merge remote-tracking branch 'origin/plasma-client-mutex' into plasma-client-mutex 7ea924a9d <Zhijun Fu> fix unintended changes c82ad9367 <Zhijun Fu> change mutex to recursive_mutex ed7392c2f <Zhijun Fu> add lock to plasma client 6249e98d3 <Zhijun Fu> change mutex to recursive_mutex 54bbdf4a0 <Zhijun Fu> Merge branch 'master' of https://github.com/apache/arrow into plasma-client-mutex afdbe688e <Zhijun Fu> add lock to plasma client