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

sched_yield on Solaris 2.51

First, thanks for OpenLDAP, this looks like a really vital project.

I was able to build openldap 1.1.2 on Solaris 2.51 when I added the

	LIBS="-lpthread -lposix4"

I'm a little concerned though, since it appears to be using
sched_yield, but on Solaris 2.51, sched_yield isn't supported.  The
configure test will build correctly, but according to the manual,
sched_yield will always error with errno = ENOSYS on 2.51.  (I believe
it's supported in 2.6 and later.)

It passes the tests in the "tests" subdirectory without any apparent
problems.  Should I be worried?

When I try building with "./configure --with-threads=lwp", slapd
core dumps when it calls thr_create.  (It gets signal 9.)