commit-hurd
[Top][All Lists]
Advanced

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

hurd/libpthread sysdeps/mach/hurd/pt-sysdep.c s...


From: Neal H . Walfield
Subject: hurd/libpthread sysdeps/mach/hurd/pt-sysdep.c s...
Date: Wed, 04 May 2005 12:04:06 -0400

CVSROOT:        /cvsroot/hurd
Module name:    hurd
Branch:         
Changes by:     Neal H. Walfield <address@hidden>       05/05/04 16:04:06

Modified files:
        libpthread/sysdeps/mach/hurd: pt-sysdep.c 
        libpthread/sysdeps/mach: pt-thread-halt.c pt-thread-alloc.c 
        libpthread/pthread: pt-internal.h pt-exit.c pt-detach.c 
                            pt-create.c 
        libpthread     : Makefile ChangeLog 
Added files:
        libpthread/sysdeps/mach: pt-thread-dealloc.c 

Log message:
        libpthread/
        
        2005-05-04  Neal H. Walfield  <address@hidden>
        
        * Makefile (SRCS): Add pt-thread_dealloc.c.
        * sysdeps/mach/pt-thread-dealloc.c: New file.
        * pthread/pt-internal.h (__pthread_thread_dealloc): New
        declaration.
        (__pthread_thread_halt): Add parameter NEED_DEALLOC.  Update
        callers.
        * sysdeps/mach/pt-thread-halt.c (__pthread_thread_halt): Respect
        new NEED_DEALLOC parameter.  Move code which deallocates kernel
        resources from here ...
        * sysdeps/mach/pt-thread-dealloc.c (__pthread_thread_dealloc):
        ...to here.
        * pthread/pt-create.c (__pthread_create_internal): Call
        __pthread_thread_dealloc on failure.
        * pthread/pt-exit.c (pthread_exit): Call __pthread_thread_dealloc.
        
        * sysdeps/mach/pt-thread-alloc.c (create_wakeupmsg): Call
        __mach_port_destroy to deallocate the receive right.
        __mach_port_deallocate won't do it.
        
        * pthread/pt-detach.c (pthread_detach): Don't call
        __pthread_thread_halt a second time.
        
        * sysdeps/mach/hurd/pt-sysdep.c (_cthread_init_routine): Fix
        declaration.
        (init_routine): Update declaration and remove gratuitous cast.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/libpthread/sysdeps/mach/hurd/pt-sysdep.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/libpthread/sysdeps/mach/pt-thread-dealloc.c?rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/libpthread/sysdeps/mach/pt-thread-halt.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/libpthread/sysdeps/mach/pt-thread-alloc.c.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/libpthread/pthread/pt-internal.h.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/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/libpthread/pthread/pt-detach.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/libpthread/pthread/pt-create.c.diff?tr1=1.3&tr2=1.4&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/libpthread/Makefile.diff?tr1=1.3&tr2=1.4&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/libpthread/ChangeLog.diff?tr1=1.15&tr2=1.16&r1=text&r2=text





reply via email to

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