[SCM] GNU Mach branch, master, updated. v1.8-1129-gb1e7bd5b

Samuel Thibault <[email protected]>
Newsgroups gmane.os.hurd.cvs
Message-ID <[email protected]>
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  b1e7bd5ba16ba761e9f62cdf8622436f385049c0 (commit)
      from  7bbdf389ef5be6f5c4293042d3fbc59d2560c8a6 (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 b1e7bd5ba16ba761e9f62cdf8622436f385049c0
Author: Mike Kelly <[email protected]>
Date:   Tue Feb 10 07:52:54 2026 +0000

    task_terminate() relies on threads terminating in list order
    
    Calling task_terminate() (on other than current_task()) risks deadlocking if the task being terminated has multiple threads. Currently, the head of the thread list must terminate successfully before terminating the next in the list. This is not always possible, for example a thread which is not the list head might hold a thread_reference to the thread at the list head. In that case, the list head cannot be terminated until the other thread releases that reference which won't happen if that other thread is TH_SUSP as it is not rescheduled. Instead, task terminate() now attempts thread terminatation in list sequence (rather than just the list head) and keeps doing so until none remain.
    Message-ID: <[email protected]>

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

Summary of changes:
 kern/task.c | 59 +++++++++++++++++++++++++++++++++++++----------------------
 1 file changed, 37 insertions(+), 22 deletions(-)


hooks/post-receive
-- 
GNU Mach
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.