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
It would be good to have a heap allocated version of BBBuffer, that would automatically be dropped when the Producer and Consumer (and all grants) have been dropped.
This should be possible by replacing the NonNull references in the producer or consumer with an Arc reference, and likely providing a constructor for BBBuffer with something like ::new_arc() with the buffer located in something like an Arc<Box<BBBuffer>>.
The text was updated successfully, but these errors were encountered:
It would be good to have a heap allocated version of BBBuffer, that would automatically be dropped when the Producer and Consumer (and all grants) have been dropped.
This should be possible by replacing the
NonNull
references in the producer or consumer with anArc
reference, and likely providing a constructor for BBBuffer with something like::new_arc()
with the buffer located in something like anArc<Box<BBBuffer>>
.The text was updated successfully, but these errors were encountered: