jhorstmann opened a new issue, #1944:
URL: https://github.com/apache/arrow-rs/issues/1944

   **Describe the bug**
   
   As noted by @jorgecarleitao in 
https://github.com/jorgecarleitao/arrow2/pull/1099#issuecomment-1165186016 the 
unsafe impl of `Send + Sync` for 
[`Buffer`](https://github.com/apache/arrow-rs/blob/c5cf2f21a59bec896b1db48f97b8aa0faacf624b/arrow/src/buffer/immutable.rs#L260)
 might not be sound if the custom 
[`Allocation`](https://github.com/apache/arrow-rs/blob/c5cf2f21a59bec896b1db48f97b8aa0faacf624b/arrow/src/alloc/mod.rs#L130)
 is not also `Send + Sync`.
   
   
   **Expected behavior**
   
   `Allocation` should require `RefUnwindSafe + Send + Sync`. `Bytes` probably 
still needs an unsafe `Send + Sync` impl, but `Buffer` should then be 
automatically `Send + Sync`.
   


-- 
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