[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: ITS#3665 Multi-Listener Thread Support



> I just want to make sure I understand the method behind this patch. It 
seems
> that multiple listener threads all select() on a single socket in a 
round
> 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 
select()s
the set. According to your previous post, if select() overhead is 
suspicious,
this multi-listener patch seems not to be useful for your case.

Sang-Seok