This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Simply ia64-sigill.exp


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]