First of all, I'd like to say thank you for your library.
I want to propose extension of current thread pool initialization process in order to be able to pass pthread attribute to underneath threads which are created in a pool.
It might be done via additional method like:
By doing so we can check whether our internal_pattr_variable is not NULL in the thread_init call and if so, apply the provided attributes to the brand new threads.
If you do not mind I can do that and send a pull request.
Hello,
First of all, I'd like to say thank you for your library. I want to propose extension of current thread pool initialization process in order to be able to pass pthread attribute to underneath threads which are created in a pool. It might be done via additional method like:
By doing so we can check whether our
internal_pattr_variable
is notNULL
in thethread_init
call and if so, apply the provided attributes to the brand new threads.If you do not mind I can do that and send a pull request.