[Rpm-maint] [rpm-software-management/rpm] Turn nrefs into atomic_int (PR #3370)
Michal Domonkos
notifications at github.com
Mon Oct 14 16:53:40 UTC 2024
> If nrefs reaches 0 it is no longer allowed to change as no one should have a reference.
In other words, thread synchronization for the an object's lifecycle is still supposed to be handled explicitly by the programmer. This PR only addresses the `nrefs` counter so that it can't be racy. Is that correct?
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3370#issuecomment-2411779605
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/3370/c2411779605 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20241014/961ce080/attachment-0001.html>
More information about the Rpm-maint
mailing list