fixed the issues mentioned above in v13.

> We probably need to do the sprintf/strcpy before LWLockNewTrancheId().
> Also, I'm thinking we should just use the same tranche for both the DSA and
> the dshash table [0] to evade the DSMR_DSA_TRANCHE_SUFFIX problem, i.e.,
> those tranche names potentially require more space.

v13 also includes a separate patch for this. It removes the
DSMR_DSA_TRANCHE_SUFFIX, and dsh and dsa now use the same
user defined tranche. The tranche name is also limited to
the max length of a named tranche, MAX_NAMED_TRANCHES_NAME_LEN,
coming from lwlock.h

--
Sami

Attachment: v13-0002-Tests-for-LWLock-tranche-registration-improvemen.patch
Description: Binary data

Attachment: v13-0001-Improve-LWLock-tranche-registration.patch
Description: Binary data

Attachment: v13-0003-Remove-the-DSA-suffix-for-tranches-created-with-.patch
Description: Binary data

Reply via email to