You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@avro.apache.org by "martin-g (via GitHub)" <gi...@apache.org> on 2023/05/12 05:52:21 UTC

[GitHub] [avro] martin-g commented on pull request #2228: Use atomics instead of static mut

martin-g commented on PR #2228:
URL: https://github.com/apache/avro/pull/2228#issuecomment-1545203798

   I am on the fence about dropping the usage of `Once` here.
   I see the reason why the original author made use of it!
   I also understand that one may need more flexibility but it may also cause problems, e.g. if two or more libraries used by an application decide to set different values for a setting. Currently by using Once the application can set the preferred value that would work for both used libraries.


-- 
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: issues-unsubscribe@avro.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org