Thanks for testing!

> Why is it necessary to allocate a new dsa_pointer for tranche names that are 
> the same size and then
> free the old one?
> Is there a reason we can't just assign new_ptrs[i] = old_ptrs[i]?

Fair point. I will updated in the next rev. We don't need to free the'
existing tranche name pointers, only the list.

> Would it be possible to update LWLockInitialize so that it checks if 
> tranche_id is
> already registered in the dsa, and if not, registers it during the 
> LWLockInitialize() process?

We could. I do think this will need a separate discussion as a follow-up to this
thread.

--
Sami


Reply via email to