This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: [NPTL docs] pthread robustness and pthread_mutex_consistent
- From: "Patrick Schlangen" <patrick at schlangen dot me>
- To: "Yubin Ruan" <ablacktshirt at gmail dot com>
- Cc: <libc-help at sourceware dot org>
- Date: Mon, 07 Aug 2017 09:33:42 +0200
- Subject: Re: [NPTL docs] pthread robustness and pthread_mutex_consistent
- Authentication-results: sourceware.org; auth=none
- References: <CAJYFCiN0nEWd6i1BTUtRksmyN8SL1OK8p_8EH3ZtUwsm+duy7g@mail.gmail.com>
- Reply-to: "Patrick Schlangen" <patrick at schlangen dot me>
Hi Yubin,
> However some threads might die inadvertently with the lock hold,
I know it's not specifically answering your question, but how can a thread
in your application 'die'?
I'm just wondering how such a situation can happen. If you have an issue in
an application where locks are not properly released, you would usually debug
why that's happening and not try to work around the issue.
Best Regards
Patrick