Github user ted-ross commented on the issue:
https://github.com/apache/qpid-dispatch/pull/96
I like this change very much (I had planned to do it myself eventually).
It would be better I think if rather than sprinkle the directives throughout
the code, you could make a portable abstraction (similar to the threading
module). Even if the abstraction is made up of macros, that would be ok. I
assume that other compilers might use different syntax for atomic operations,
and some might not support it at all and might need to revert to mutexes.
Perhaps there should be a portable ref_count abstraction with increment and
decrement-test-for-zero operations.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]