-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NCNN_XADD should return int #538
Comments
do not understand this function. return |
That is how compare and exchange works. |
It is fine to make the refcount integer live on its own memory heap. |
thanks for your explanation. |
ncnn/src/allocator.h
Line 92 in 6f1b0b0
The text was updated successfully, but these errors were encountered: