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

Re: (ITS#3950) sched_yield() considered harmful

bernie@develer.com wrote:
> Regardless, a threaded server application such as slapd
> shouldn't ever need to call sched_yield().  The pthreads
> API provides plenty of synchronization primitives that don't
> require low-level tweaking of scheduling behavior and are
> therefore more portable and usually more efficient.
> Disclaimer: I know very little about slapd internals,
> so I may well have overseen something...
Please try the OpenLDAP 2.3 release; I don't believe any performance 
issue exists here.

  -- Howard Chu
  Chief Architect, Symas Corp.  http://www.symas.com
  Director, Highland Sun        http://highlandsun.com/hyc
  OpenLDAP Core Team            http://www.openldap.org/project/