Re: [Rpm-maint] [rpm-software-management/rpm] RFE: make rpm object ref counting atomic (#431)

2018-04-16 Thread Panu Matilainen
This is an identical duplicate of #430, closing. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/431#issuecomment-381564764___

Re: [Rpm-maint] [rpm-software-management/rpm] RFE: make rpm object ref counting atomic (#431)

2018-04-16 Thread Panu Matilainen
Closed #431. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/431#event-1575986977___ Rpm-maint mailing list

[Rpm-maint] [rpm-software-management/rpm] RFE: make rpm object ref counting atomic (#431)

2018-04-13 Thread Jeff Johnson
The ref counting for rpm objects needs to become atomic to avoid Heisenbug's when attempting use of rpm objects in multithreaded environments. Yes the window doing increment/decrement is quite tiny, but is still not correct. There are of course other issues serializing RW access to object