cvs commit: src/lib/libthr/thread thr_private.h thr_rtld.c thr_sem.c thr_sig.c thr_suspend_np.c thr_umtx.c thr_umtx.h

John Birrell jb at what-creek.com
Tue Nov 20 21:37:16 PST 2007


On Wed, Nov 21, 2007 at 05:21:58AM +0000, David Xu wrote:
> davidxu     2007-11-21 05:21:58 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     lib/libthr/thread    thr_private.h thr_rtld.c thr_sem.c 
>                          thr_sig.c thr_suspend_np.c thr_umtx.c 
>                          thr_umtx.h 
>   Log:
>   Remove umtx_t definition, use type long directly, add wrapper function
>   _thr_umtx_wait_uint() for umtx operation UMTX_OP_WAIT_UINT, use the
>   function in semaphore operations, this fixed compiler warnings.

Thanks.

I assume you have tested this with "CFLAGS=-O2 -pipe" in /etc/make.conf
to remove the -fno-strict-aliasing option that is in the default CFLAGS?

--
John Birrell


More information about the cvs-src mailing list