On Thu, 2013-01-10 at 23:38 +0000, Detlef Vollmann wrote:
> Hi,
> 
> I'm testing a small program that in a tight (busy) loop checks that another 
> thread has reached some specific state.
> With valgrind, this runs forever on some machines, and returns pretty soon on 
> other (much slower) machines.
> 
> Is this a known problem and is there a workaround?
> I'm running Valgrind-3.7.0.
> 
> Here's the program, and everything works fine with valgrind if I add a sleep 
> in 
> the loop (HERE).
I guess you might have encountered the bug 
https://bugs.kde.org/show_bug.cgi?id=270006

If that is the case, you should upgrade to 3.8.1 and use
the new option --fair-sched=yes

Philippe



------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to