commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

hurd/libpthread sysdeps/l4/pt-create-np.c pthre...


From: Marcus Brinkmann
Subject: hurd/libpthread sysdeps/l4/pt-create-np.c pthre...
Date: Mon, 01 Nov 2004 12:09:47 -0500

CVSROOT:        /cvsroot/hurd
Module name:    hurd
Branch:         
Changes by:     Marcus Brinkmann <address@hidden>       04/11/01 17:04:00

Modified files:
        libpthread/sysdeps/l4: pt-create-np.c 
        libpthread/pthread: pt-internal.h pt-exit.c pt-dealloc.c 
                            pt-create.c pt-alloc.c 
        libpthread     : ChangeLog 

Log message:
        2004-11-01  Marcus Brinkmann  <address@hidden>
        
        * pthread/pt-internal.h: Include <atomic.h>, not <bits/atomic.h>.
        (__pthread_total): Change type of declaration to uatomic_max_t.
        * pthread/pt-alloc.c: Include <atomic.h>, not <bits/atomic.h>.
        (__pthread_free_threads): Change type to uatomicptr_t.
        (__pthread_alloc): Call atomic_compare_and_exchange_val_acq
        instead of __atomicptr_compare_and_swap.
        * pthread/pt-create.c: Include <atomic.h>, not <bits/atomic.h>.
        (__pthread_total): Change type to uatomic_max_t.
        (__pthread_create_internal): Call atomic_increment, not
        __atomic_inc and atomic_decrement, not __atomic_dec.
        * pthread/pt-dealloc.c: Include <atomic.h>, not <bits/atomic.h>.
        (__pthread_free_threads): Declare as uatomicptr_t.
        (__pthread_dealloc): Call atomic_compare_and_exchange_val_acq
        instead of __atomicptr_compare_and_swap.
        * pthread/pt-exit.c: Include <atomic.h>, not <bits/atomic.h>.
        (pthread_exit): Call atomic_decrement_and_test instead of
        __atomic_dec_and_test.
        * sysdeps/l4/pt-create-np.c: Do not include <bits/atomic.h>.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd-l4/libpthread/sysdeps/l4/pt-create-np.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd-l4/libpthread/pthread/pt-internal.h.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd-l4/libpthread/pthread/pt-exit.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd-l4/libpthread/pthread/pt-dealloc.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd-l4/libpthread/pthread/pt-create.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd-l4/libpthread/pthread/pt-alloc.c.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd-l4/libpthread/ChangeLog.diff?tr1=1.6&tr2=1.7&r1=text&r2=text





reply via email to

[Prev in Thread] Current Thread [Next in Thread]