You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "mbrobbel (via GitHub)" <gi...@apache.org> on 2025/06/02 08:48:42 UTC
Re: [PR] Add a strong_count method to Buffer [arrow-rs]
mbrobbel commented on code in PR #7569:
URL: https://github.com/apache/arrow-rs/pull/7569#discussion_r2120467023
##########
arrow-buffer/src/buffer/immutable.rs:
##########
@@ -125,6 +125,15 @@ impl Buffer {
self.data.ptr()
}
+ /// Returns the number of strong references to the buffer.
+ ///
+ /// This method is safe but if the buffer is shared across mulitple threads
Review Comment:
```suggestion
/// This method is safe but if the buffer is shared across multiple threads
```
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org