Re: [Valgrind-users] Helgrind data race question

2013-05-16 Thread David Faure
On Tuesday 14 May 2013 20:18:44 Phil Longstaff wrote: int* my_ptr = new int; *my_ptr = 10; pthread_mutex_lock(lock); shared_ptr = my_ptr; pthread_mutex_unlock(lock); Thread 2: pthread_mutex_lock(lock); int* my_ptr = shared_ptr; pthread_mutex_unlock(lock); ... = *my_ptr; You're reading

Re: [Valgrind-users] Fwd: __malloc_initialize_hook is deprecatedco. warnings while building ast-open.2013-04-22 ...

2013-05-16 Thread Philippe Waroquiers
On Tue, 2013-05-14 at 04:28 +0200, Roland Mainz wrote: On Thu, Apr 25, 2013 at 1:42 PM, Sebastian Feld sebastian.n.f...@gmail.com wrote: On Wed, Apr 24, 2013 at 11:10 PM, Roland Mainz roland.ma...@nrubsig.org wrote: On Wed, Apr 24, 2013 at 10:14 PM, Roland Mainz roland.ma...@nrubsig.org

Re: [Valgrind-users] Fwd: __malloc_initialize_hook is deprecatedco. warnings while building ast-open.2013-04-22 ...

2013-05-16 Thread Roland Mainz
On Thu, May 16, 2013 at 9:13 PM, Philippe Waroquiers philippe.waroqui...@skynet.be wrote: On Tue, 2013-05-14 at 04:28 +0200, Roland Mainz wrote: On Thu, Apr 25, 2013 at 1:42 PM, Sebastian Feld sebastian.n.f...@gmail.com wrote: On Wed, Apr 24, 2013 at 11:10 PM, Roland Mainz