This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 1/2] Hoist code on marking thread as exited
- From: Pedro Alves <palves at redhat dot com>
- To: Yao Qi <qiyaoltc at gmail dot com>, gdb-patches at sourceware dot org
- Date: Thu, 6 Apr 2017 10:27:14 +0100
- Subject: Re: [PATCH 1/2] Hoist code on marking thread as exited
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx01.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx01.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=palves at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 21BF181250
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 21BF181250
- References: <1f525e52-f547-63ac-0a31-e92686c9caf8@redhat.com> <1491426942-6306-1-git-send-email-yao.qi@linaro.org> <1491426942-6306-2-git-send-email-yao.qi@linaro.org>
On 04/05/2017 10:15 PM, Yao Qi wrote:
> This patch hoists code on marking thread as exited, so more code is shared
> for two different paths (thread_info is deleted or is not deleted).
>
> gdb:
>
> 2017-04-05 Yao Qi <yao.qi@linaro.org>
>
> * thread.c (delete_thread_1): Hoist code on marking thread as
> exited.
OK.
Thanks,
Pedro Alves