|
From: Chris P. <jud...@gm...> - 2008-08-11 23:01:40
|
I read http://valgrind.org/docs/manual/manual-core.html#manual-core.pthreadsand interpreted this as valgrind supplies its own pthreads. "Valgrind schedules your program's threads in a round-robin fashion, with all threads having equal priority." I guess this means even if it doesn't supply its own pthreads implementation it does alter the scheduling. I concluded, perhaps erroneously, that threading was causing my problems. What I'm really after is any guidance on running valgrind with a memory and CPU constrained environment. On Mon, Aug 11, 2008 at 6:58 PM, Tom Hughes <to...@co...> wrote: > Chris Packham wrote: > > When I run it under valgrind I start getting some random failures (program >> failures not valgrind reporting). I'm currently putting this down to the >> fact that valgrind supplies its own pthread implementation. >> > > Valgrind hasn't provided it's own pthread implementation for several years, > so if you are really using a version has it's own libpthread then the first > thing you need to do is upgrade. > > Tom > > -- > Tom Hughes (to...@co...) > http://www.compton.nu/ > |