On Thursday 05 February 2009, Christoph Bartoschek wrote: > Hi, > > today I had to learn that the attached program is incorrect. It is not > allowed to destroy the barrier while not all threads have left the > pthread_barrier_wait() call. > > Unfortunately neither DRD nor Helgrind warn about this error. Could you > please improve the tools to detect such errors?
Um, where is the bug in this program? To me it looks OK: the barrier is not destroyed until after both parent and child have passed it. J ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Valgrind-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/valgrind-users
