This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Simply ia64-sigill.exp
- From: Pedro Alves <pedro at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Cc: Yao Qi <yao at codesourcery dot com>
- Date: Wed, 22 Jun 2011 19:20:16 +0100
- Subject: Re: [patch] Simply ia64-sigill.exp
- References: <4E01CB20.6010306@codesourcery.com>
On Wednesday 22 June 2011 11:59:44, Yao Qi wrote:
> In my port, pthread_cond_signal/pthread_cond_wait don't work properly,
> and some tests in ia64-sigill.exp fails.
Why not fix pthread_cond_signal/pthread_cond_wait?
>
> This patch is to replace calls to pthread_cond_signal/pthread_cond_wait
> with "set-and-check" on variable thread1_tid and thread2_tid, to still
> keep the happen-before relationship between threads.
>
> Test result is unchanged on x86_64-unknown-linux-gnu. OK for mainline?
>
>
--
Pedro Alves