commit-hurd
[Top][All Lists]
Advanced

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

[SCM] GNU Mach branch, master, updated. v1.4-497-gbe05086


From: Samuel Thibault
Subject: [SCM] GNU Mach branch, master, updated. v1.4-497-gbe05086
Date: Sun, 07 Dec 2014 22:09:52 +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 "GNU Mach".

The branch, master has been updated
       via  be05086a4b9de42ba7c596905e8980d8713eae49 (commit)
      from  cd76999cd1cf590b95df3e22d2eb2a7dad333499 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit be05086a4b9de42ba7c596905e8980d8713eae49
Author: Samuel Thibault <address@hidden>
Date:   Sun Dec 7 23:05:48 2014 +0100

    Fix pthread_create warning on translator termination
    
    This was due to task_terminate not actually properly suspending threads
    before disable the task port, which was thus preventing pthread_create
    from being able to create a stack. Thanks Gabriele Giacone for finding
    out a reproducer of this.
    
    * kern/task.h (task_hold_locked): New declaration.
    * kern/task.c (task_hold): Move the locked part of the code into...
    (task_hold_locked): ... new function.
    (task_terminate): Call task_hold_locked just before deactivating the
    task. Call ipc_task_disable after waiting for threads to actually
    suspend with task_dowait.

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

Summary of changes:
 kern/task.c |   37 ++++++++++++++++++++++++++++---------
 kern/task.h |    1 +
 2 files changed, 29 insertions(+), 9 deletions(-)


hooks/post-receive
-- 
GNU Mach



reply via email to

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