silver-ymz commented on PR #2192: URL: https://github.com/apache/incubator-opendal/pull/2192#issuecomment-1537021266
I have a question about the `Arc`. Here we use the `get_mut` to determine memory boundaries. I look the implemetation of `Arc`, it use `Acquire` in `get_mut` and `Release` in `Drop`. This is the correct behavior. But is this behavior strictly regulated in the documentation? I havn't found that. Maybe it's better to use `AtomicBool` with self-defined memory order. -- 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]
