[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] POSIX threading library branch, master, updated. 014966443ac044ca9
From: |
Richard Braun |
Subject: |
[SCM] POSIX threading library branch, master, updated. 014966443ac044ca9d53b6bcec6678b9360cba78 |
Date: |
Wed, 22 Jan 2014 00:10:50 +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 "POSIX threading library".
The branch, master has been updated
via 014966443ac044ca9d53b6bcec6678b9360cba78 (commit)
from 9329c3c49fe5f4cde9a84edd5b9b8f26ce38b76e (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 014966443ac044ca9d53b6bcec6678b9360cba78
Author: Richard Braun <address@hidden>
Date: Wed Jan 22 01:03:00 2014 +0100
Fix thread destruction
Releasing a thread reference uses a mutex, which means the kernel
resources used for synchronization must be available until late during
the destruction process. For simplicity, merge __pthread_thread_dealloc
into __pthread_thread_terminate.
* Makefile (libpthread-routines): Remove pt-thread-dealloc.
* pthread/pt-create.c (__pthread_create_internal): Remove call to
__pthread_thread_dealloc.
* pthread/pt-exit.c (__pthread_exit): Likewise.
* pthread/pt-internal.h (__pthread_thread_dealloc): Remove declaration.
(__pthread_thread_terminate): Update description.
* sysdeps/mach/pt-thread-dealloc.c: Remove file.
* sysdeps/mach/pt-thread-terminate.c (__pthread_thread_terminate):
Destroy the wake up port.
-----------------------------------------------------------------------
Summary of changes:
Makefile | 1 -
pthread/pt-create.c | 1 -
pthread/pt-exit.c | 8 +-----
pthread/pt-internal.h | 6 +---
sysdeps/mach/pt-thread-dealloc.c | 40 ------------------------------------
sysdeps/mach/pt-thread-terminate.c | 7 +++++-
6 files changed, 10 insertions(+), 53 deletions(-)
delete mode 100644 sysdeps/mach/pt-thread-dealloc.c
hooks/post-receive
--
POSIX threading library
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] POSIX threading library branch, master, updated. 014966443ac044ca9d53b6bcec6678b9360cba78,
Richard Braun <=