-
Notifications
You must be signed in to change notification settings - Fork 39
add post-initialize function to pools and providers #1500
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Split between initialize and post-initialize function is necessary for properly handling CTL defaults.
/// * Called by UMF **after** @ref initialize during umfPoolCreate(). | ||
/// * Between @ref initialize and @ref ext_post_initialize there **may** be | ||
/// multiple calls to @ref ext_ctl for early configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is unclear how pool/provider developer should decide how initialization steps should be split between initialize
and ext_post_initialize
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Honestly, I think it is an error-prone approach
cont: #1467
Description
Checklist