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] Fix watch_thread_num testcase for ppc32


> Five threads looping without a CPU delay really messes up interactive
> performance; that's why I reduced the thread count for schedlock.exp
> recently.

Sounds like a good reason to leave the delay there.

> Sounds to me like a bug in GDB, not a problem with the test.

Yes, probably. I believe there is a signal being missed somewhere.

If i use usleep(0) (calls sched_yield), the testcase runs just fine. But
switching to a delay eventually breaks the test.

Any ideas?

-- 
Luis Machado
Software Engineer 
IBM Linux Technology Center


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