#3 ns_thrpool_new should take a config struct rather than many parameters
Closed: Fixed None Opened 8 years ago by rmeggins.

copied from https://fedorahosted.org/389/ticket/48037

Should have some sort of struct/typedef that can be used to pass parameters to ns_thrpool_new e.g.
{{{
struct ns_thrpool_config {
PRInt32 initial_threads;
PRInt32 max_threads;
PRUint32 stacksize;
PRUint32 event_queue_size;
PRUint32 work_queue_size;
etc.
}
...
ns_thrpool_t ns_thrpool_new(struct ns_thrpool_config config);
}}}

commit 8515cf9251e65fe20355bbf4788e00f3dffb4254


Login to comment on this ticket.

Metadata