You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allocation should require RefUnwindSafe + Send + Sync. Bytes probably still needs an unsafe Send + Sync impl, but Buffer should then be automatically Send + Sync.
The text was updated successfully, but these errors were encountered:
alamb
changed the title
Send + Sync impl for Allocation might be unsoundSend + Sync impl for Allocation may not be sound unless Allocation is Send + Sync as well
Jul 7, 2022
Describe the bug
As noted by @jorgecarleitao in jorgecarleitao/arrow2#1099 (comment) the unsafe impl of
Send + Sync
forBuffer
might not be sound if the customAllocation
is not alsoSend + Sync
.Expected behavior
Allocation
should requireRefUnwindSafe + Send + Sync
.Bytes
probably still needs an unsafeSend + Sync
impl, butBuffer
should then be automaticallySend + Sync
.The text was updated successfully, but these errors were encountered: