commit-hurd
[Top][All Lists]
Advanced

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

hurd-l4 viengoos/thread.c viengoos/object.c vie...


From: Neal H. Walfield
Subject: hurd-l4 viengoos/thread.c viengoos/object.c vie...
Date: Fri, 08 Feb 2008 10:01:42 +0000

CVSROOT:        /sources/hurd
Module name:    hurd-l4
Changes by:     Neal H. Walfield <neal> 08/02/08 10:01:42

Modified files:
        viengoos       : thread.c object.c ChangeLog 
        libpthread/sysdeps/hurd: pt-setspecific.c 
        libpthread     : ChangeLog 
        libhurd-ihash  : t-ihash.c ihash.h ihash.c Makefile.am ChangeLog 

Log message:
        libhurd-ihash/
        
        2008-02-08  Neal H. Walfield  <address@hidden>
        
                * ihash.h: Include <bits/wordsize.h>.
                (hurd_ihash_key64_t): New definition.
                (struct _hurd_ihash_item64): New structure.
                (struct hurd_ihash): Change items's type void *.
                [__WORDSIZE == 32]: Add field large.
                (_HURD_IHASH_LARGE): New macro.
                (HURD_IHASH_INITIALIZER): Take additional argument large.  Use 
it.
                (hurd_ihash_init): Take additional argument large.
                (hurd_ihash_buffer_size): Likewise.
                (hurd_ihash_init_with_buffer): Likewise.
                (hurd_ihash_create): Likewise.
                (hurd_ihash_replace): Change key's type to hurd_ihash_key64_t.
                (hurd_ihash_add): Likewise.
                (hurd_ihash_find): Likewise.
                (hurd_ihash_remove): Likewise.
                (HURD_IHASH_ITERATE): Rewrite to properly handle both 32- and
                64-bit keys.
                * ihash.c (ITEM): New macro.
                (VALUE): Likewise.
                (KEY): Likewise.
                (ITEM_SIZE): Likewise.
                (index_empty): Use the above macros rather than accessing
                HT->ITEMS directly.
                (index_valid): Likewise and change key's type to a
                hurd_ihash_key64_t.
                (find_index): Likewise.
                (replace_one): Likewise.
                (hurd_ihash_replace): Likewise.
                (hurd_ihash_find): Likewise.
                (hurd_ihash_remove): Likewise.
                (hurd_ihash_init_internal): Take additional argument large.  Use
                it.
                (hurd_ihash_init): Likewise.
                (hurd_ihash_init_with_buffer): Likewise.
                (hurd_ihash_create): Likewise.
                (hurd_ihash_buffer_size): Likewise.
                * t-ihash.c: Include <assert.h>.
                (main): Expect that TEST_LARGE is defined.  Use it when calling
                hurd_ihash_init.  If true, add some tests with 64-bit keys.
                * Makefile.am (TESTS): Add t-ihash64.
                (check_PROGRAMS): Likewise.
                (t_ihash_CPPFLAGS): Add -DTEST_LARGE=false.
                (t_ihash64_SOURCES): New variable.
                (t_ihash64_CPPFLAGS): Likewise.
        
        viengoos/
        
        2008-02-08  Neal H. Walfield  <address@hidden>
        
                * thread.c (thread_init): Update use of
                hurd_ihash_init_with_buffer to be consistent with new API.
                * object.c (object_init): Likewise.
        
        libpthread/
        
        2008-02-08  Neal H. Walfield  <address@hidden>
        
                * sysdeps/hurd/pt-setspecific.c (pthread_setspecific): Update 
use
                of hurd_ihash_create to be consistent with API changes.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/thread.c?cvsroot=hurd&r1=1.16&r2=1.17
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/object.c?cvsroot=hurd&r1=1.26&r2=1.27
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/ChangeLog?cvsroot=hurd&r1=1.99&r2=1.100
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libpthread/sysdeps/hurd/pt-setspecific.c?cvsroot=hurd&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libpthread/ChangeLog?cvsroot=hurd&r1=1.24&r2=1.25
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-ihash/t-ihash.c?cvsroot=hurd&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-ihash/ihash.h?cvsroot=hurd&r1=1.17&r2=1.18
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-ihash/ihash.c?cvsroot=hurd&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-ihash/Makefile.am?cvsroot=hurd&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-ihash/ChangeLog?cvsroot=hurd&r1=1.16&r2=1.17




reply via email to

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