commit-hurd
[Top][All Lists]
Advanced

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

hurd-l4 viengoos/viengoos.c viengoos/thread.h v...


From: Neal H. Walfield
Subject: hurd-l4 viengoos/viengoos.c viengoos/thread.h v...
Date: Thu, 22 Nov 2007 16:56:15 +0000

CVSROOT:        /sources/hurd
Module name:    hurd-l4
Changes by:     Neal H. Walfield <neal> 07/11/22 16:56:15

Modified files:
        viengoos       : viengoos.c thread.h thread.c server.c rm.h 
                         object.c ChangeLog 
        ruth           : ruth.c ChangeLog 
        hurd           : rpc.h headers.m4 Makefile.am ChangeLog 
Added files:
        hurd           : thread.h 

Log message:
        viengoos/
        
        2007-11-22  Neal H. Walfield  <address@hidden>
        
                * thread.h (struct thread): Add fields efalgs, user_handle and
                init.
                (thread_create_in): Rename from this...
                (thread_init): ... to this.  Remove the activity argument.
                Update all users.
                (thread_create): Remove declaration.
                (thread_destroy): Rename from this...
                (thread_deinit): ... to this.  Update all users.
                (thread_send_sp_ip): Remove declaration.
                (thread_exregs): New declaration.
                * thread.c: Include <hurd/thread.h>.
                (thread_lookup): Add additional asserts.
                (thread_create_in): Rename from this...
                (thread_init): ... to this.  Remove the activity argument.  
Don't
                set THREAD->ACTIVITY.  Set THREAD->INIT to true.
                (thread_create): Remove function.
                (thread_destroy): Rename from this...
                (thread_deinit): ... to this.  Correctly calculate the bit to
                deallocate.  Fix assert.  Set THREAD->INIT to false.
                (thread_commission): If THREAD->INIT is false, first call
                thread_init.  Correctly calculate the thread ids to initialize.
                (thread_send_sp_ip): Remove function.
                (thread_exregs): New function.
                * rm.h (RPC_STUB_PREFIX): Include <hurd/thread.h>.
                (rm_method_id_string): Support RM_thread_exregs.
                (THREAD_ASPACE_SLOT, THREAD_ACTIVITY_SLOT): Move from...
                * ../hurd/thread.h: ... to this new file.
                * server.c: Include <hurd/thread.h>.
                (server_loop): Implement the thread_exregs RPC.
                * viengoos.c (system_task_load): Set THREAD->ACTIVITY to a
                capability designating ROOT_ACTIVITY.
        
        hurd/
        
        2007-11-22  Neal H. Walfield  <address@hidden>
        
                * Makefile.am (includehurd_HEADERS): Add thread.h.
                * headers.m4: Link $(BUILDIR)/include/hurd/thread.h to thread.h.
                * thread.h: New file.
                * rpc.h: Include <errno.h>.
        
        ruth/
        
        2007-11-22  Neal H. Walfield  <address@hidden>
        
                * ruth.c: Include <hurd/thread.h>.
                (main): Add test case for thread creation.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/viengoos.c?cvsroot=hurd&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/thread.h?cvsroot=hurd&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/thread.c?cvsroot=hurd&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/server.c?cvsroot=hurd&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/rm.h?cvsroot=hurd&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/object.c?cvsroot=hurd&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/viengoos/ChangeLog?cvsroot=hurd&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/ruth/ruth.c?cvsroot=hurd&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/ruth/ChangeLog?cvsroot=hurd&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/hurd/rpc.h?cvsroot=hurd&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/hurd/headers.m4?cvsroot=hurd&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/hurd/Makefile.am?cvsroot=hurd&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/hurd/ChangeLog?cvsroot=hurd&r1=1.20&r2=1.21
http://cvs.savannah.gnu.org/viewcvs/hurd-l4/hurd/thread.h?cvsroot=hurd&rev=1.1




reply via email to

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