Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Oct 2004 19:59:16 -0400 (EDT)
From:      Daniel Eischen <deischen@freebsd.org>
To:        Matt Hamilton <matth@netsight.co.uk>
Cc:        freebsd-current@freebsd.org
Subject:   Re: threading issues
Message-ID:  <Pine.GSO.4.43.0410111957480.24272-100000@sea.ntplx.net>
In-Reply-To: <416AB672.6090405@netsight.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 11 Oct 2004, Matt Hamilton wrote:

>
> All,
>    I am still trying to work out why pthread support on AMD64 appears
> broken.  (See message on -current 3/10/2004 "Re: 5.3-BETA5 AMD64 Python
> problems").
>
> I was looking in CVS, and saw a test suite in /usr/src/libpthread/test.
>   In running Make I get:
>
> ...compile stuff...
> Test static library:
> --------------------------------------------------------------------------
> Test                                      c_user c_system c_total     chng
>   passed/FAILED                            h_user h_system h_total   % chng
> --------------------------------------------------------------------------
> hello_d                                     0.00     0.00    0.00
>   passed
> --------------------------------------------------------------------------
> hello_s                                     0.00     0.01    0.01
>   passed
> --------------------------------------------------------------------------
> join_leak_d                                 0.04     0.00    0.04
>   *** FAILED ***

It doesn't really fail, the test just doesn't take into account the fact
that the library caches threads and KSEs.

> --------------------------------------------------------------------------
> mutex_d                                 ^C
>
> it just hangs on mutex_d and I had to manually abort it.  Does this work
> on i386 systems?  This is an AMD Opteron (HP DL145) running BETA7 as
> compiled from -current at the weekend.

It doesn't hang.  The test just takes a long time to run.  Run it manually
and see for yourself.

-- 
Dan Eischen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.43.0410111957480.24272-100000>