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: Wed, 23 Jan 2008 16:19:56 +0000

CVSROOT:        /sources/hurd
Module name:    hurd-l4
Changes by:     Neal H. Walfield <neal> 08/01/23 16:19:56

Modified files:
        viengoos       : thread.c object.c memory.c Makefile.am 
                         ChangeLog 
        libhurd-ihash  : t-ihash.c ihash.h ihash.c Makefile.am ChangeLog 
Removed files:
        viengoos       : malloc.h malloc.c malloc-wrap.c 

Log message:
        libhurd-ihash/
        
        2008-01-23  Neal H. Walfield  <address@hidden>
        
                * ihash.h (hurd_ihash_buffer_size): New declaration.
                (hurd_ihash_init_with_buffer): Likewise.
                (hurd_ihash_init): Add comment that this function is not 
provided
                if the library is compiled with NO_MALLOC.
                (hurd_ihash_create): Likewise.
                (hurd_ihash_free): Likewise.
                (hurd_ihash_destroy): Update comment.
                * ihash.c (hurd_ihash_init_with_buffer): New function.
                (hurd_ihash_destroy) [NO_MALLOC]: Don't free HT->ITEMS.
                (hurd_ihash_create) [NO_MALLOC]: Just return ENOMEM;
                (hurd_ihash_free) [NO_MALLOC]: Remove function.
                (hurd_ihash_buffer_size): New function.
                (hurd_ihash_replace) [NO_MALLOC]: Don't attempt to expand the 
hash
                table.
                [! NO_MALLOC]: Use hurd_ihash_buffer_size to calculate an
                appropriate buffer size.
                * Makefile.am (lib_LIBRARIES): Add libhurd-ihash-nomalloc.a.
                (libhurd_ihash_nomalloc_a_CPPFLAGS): New variable.
                (libhurd_ihash_nomalloc_a_SOURCES): Likewise.
        
                * t-ihash.c (main): Cast locp offset calculation to elide 
warning.
        
        viengoos/
        
        2008-01-23  Neal H. Walfield  <address@hidden>
        
                * thread.c: Include "zalloc.h".
                (thread_init): Initialize TID_TO_THREAD hash here.  Allocate 
using
                zalloc.
                * object.c: Include "zalloc.h".
                (object_init): Allocate hash table and object_descs using 
zalloc.
                * Makefile.am (viengoos_SOURCES): Remove malloc.h and
                malloc-wrap.c.
                (viengoos_LDADD): Use ../libhurd-ihash/libhurd-ihash-nomalloc.a
                rather than ../libhurd-ihash/libhurd-ihash.a.
                (EXTRA_viengoos_SOURCES): Remove variable.
        
                * memory.c (memory_grab) [_L4_TEST_ENVIRONMENT]: Don't include
                binary when calculating available memory.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/thread.c?cvsroot=hurd&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/object.c?cvsroot=hurd&r1=1.23&r2=1.24
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/memory.c?cvsroot=hurd&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/Makefile.am?cvsroot=hurd&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/ChangeLog?cvsroot=hurd&r1=1.78&r2=1.79
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/malloc.h?cvsroot=hurd&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/malloc.c?cvsroot=hurd&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/malloc-wrap.c?cvsroot=hurd&r1=1.1&r2=0
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-ihash/t-ihash.c?cvsroot=hurd&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-ihash/ihash.h?cvsroot=hurd&r1=1.16&r2=1.17
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-ihash/ihash.c?cvsroot=hurd&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-ihash/Makefile.am?cvsroot=hurd&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/libhurd-ihash/ChangeLog?cvsroot=hurd&r1=1.14&r2=1.15




reply via email to

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