[Date Prev][Date Next]
Re: ITS#3665 Multi-Listener Thread Support
> I just want to make sure I understand the method behind this patch. It
> that multiple listener threads all select() on a single socket in a
> robin manner, which is controlled by a mutex
> (&slap_daemon[ t_my_id ].sd_mutex). Is this correct?
No. Each listener thread has its own set of interest FDs and it only
the set. According to your previous post, if select() overhead is
this multi-listener patch seems not to be useful for your case.