[389-devel] Revised: Ticket 509 - lock-free access to be->be_suffixlock

Ludwig Krispenz lkrispen at redhat.com
Mon Dec 10 15:49:53 UTC 2012


Hi Mark,

in the locked version the list of suffixes cannot be changed while you 
loop over them. In your version you get the suffix count and the do a 
for loop i=0..count on it. Although suffixes don't get deleted from the 
array there couls be cases where one is added from the time you get the 
count to whwn you execute the loop. Could this be a problem ?

Ludwig


On 12/10/2012 04:29 PM, Mark Reynolds wrote:
> Here is the lock-free version....
>> https://fedorahosted.org/389/ticket/509
>>
>> https://fedorahosted.org/389/attachment/ticket/509/0001-Ticket-509-lock-free-access-to-be-be_suffixlock.patch 
>>
>>
>



More information about the 389-devel mailing list