jhorstmann commented on issue #7568:
URL: https://github.com/apache/arrow-rs/issues/7568#issuecomment-2929670813

   In a multithreaded program, this method would have time-of-check vs 
time-of-use issue, the reference count could be changed by another thread. 
There is an existing method `Buffer::into_mutable` that returns a `Result` and 
internally uses `Arc::try_unwrap`, would that work for your usecase?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to