[Date Prev][Date Next]
Re: sched_yield on Solaris 2.51
At 01:59 PM 1/7/99 -0800, Adrian Miranda wrote:
>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's okay. Solaris threads are preemptive. The OpenLDAP
will work just fine.
>It passes the tests in the "tests" subdirectory without any apparent
>problems. Should I be worried?
No, be happy.
>When I try building with "./configure --with-threads=lwp", slapd
>core dumps when it calls thr_create. (It gets signal 9.)
I guess everyone is using POSIX threads. Good!
A back trace and the relevant log entries (-d 129) should be useful
in tracking this down.