commit-hurd
[Top][All Lists]
Advanced

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

[SCM] glibc maintenance branch, rbraun/thread_terminate_release, created


From: Richard Braun
Subject: [SCM] glibc maintenance branch, rbraun/thread_terminate_release, created. glibc-2.17-4422-gdd0ef1d
Date: Sun, 24 Nov 2013 10:51:03 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "glibc maintenance".

The branch, rbraun/thread_terminate_release has been created
        at  dd0ef1df2aee41d4f20bd6482dbc6fc180113d05 (commit)

- Log -----------------------------------------------------------------
commit dd0ef1df2aee41d4f20bd6482dbc6fc180113d05
Author: Richard Braun <address@hidden>
Date:   Sun Nov 24 11:47:05 2013 +0100

    Hurd: fix port leak in TLS
    
    Depending on whether the thread is the main thread or not, the threading
    library can have trouble determining whether the thread reference in the
    TCB is valid. The simple solution is to let the threading library
    initialize the TCB, and use a temporary reference when initializing TLS.
    
    * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary thread
    reference.

commit e0bcb1e86a4627710128968d64065e8d99156094
Author: Richard Braun <address@hidden>
Date:   Sun Nov 24 11:41:01 2013 +0100

    Hurd: make sigstates hold a reference on thread ports
    
    This change is required in order to correctly release per-thread
    resources. Directly reusing the threading library reference isn't
    possible since the sigstate is also used early in the main thread,
    before threading is initialized.
    
    * hurd/hurd/signal.h (_hurd_self_sigstate): Drop thread reference after
    calling _hurd_thread_sigstate.
    (_hurd_critical_section_lock): Likewise.
    * hurd/hurdsig.c (_hurd_thread_sigstate): Add a reference on the thread.
    (_hurd_sigstate_delete): Drop thread reference.

commit 095772fde7bcb0d1202c25ebe6f8e0113f6eee6c
Author: Richard Braun <address@hidden>
Date:   Sun Nov 24 11:27:28 2013 +0100

    Hurd: fix sigstate locking
    
    It looks like _hurd_thread_sigstate used to return with the sigstate
    lock held long ago, but since that's no longer the case, don't unlock
    something that isn't locked.
    
    Note that it's unlikely this change fixes anything in practice since
    its current implementation (on i386) makes this call a nop.
    
    * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
    sigstate.

-----------------------------------------------------------------------


hooks/post-receive
-- 
glibc maintenance



reply via email to

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