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

Re: configure pthread tests fail on fast computers (ITS#1037)



At 06:49 PM 2/20/01 +0000, plittle@vergecorp.com wrote:
>Full_Name: Paul T. Little
>Version: 2.0.7
>OS: RedHat 7
>URL: ftp://ftp.openldap.org/incoming/
>Submission from: (NULL) (207.174.21.155)
>
>
>On my computer the pthread test programs fail because the task thread completes
>before the detach.

Though the task has completed, the thread must remain joinable
and hence can be detached.  The pthread implementation you are
using is broken.  You should consult your OS vendor for appropriate
fixes.

(I note there should be a sleep(1) before the detach to catch
more broken pthread implementations.)