Description
The idea is to use custom libctx stored globally - initialized in GINIT.
The reason for that is that currently the default libctx is used. This might not be optimal for some settings that are global like setting of max number of threads in the incoming Argon password support: #13635
In addition there is an issue in ZTS build when used on some platforms under load (more threads running together). This might potentially resolve such issues.
After investigation of code, those are the needed changes:
Description
The idea is to use custom libctx stored globally - initialized in GINIT.
The reason for that is that currently the default libctx is used. This might not be optimal for some settings that are global like setting of max number of threads in the incoming Argon password support: #13635
In addition there is an issue in ZTS build when used on some platforms under load (more threads running together). This might potentially resolve such issues.
After investigation of code, those are the needed changes: