Comment on DynamicAnnotations in data-race-test

15 views
Skip to first unread message

data-ra...@googlecode.com

unread,
Apr 7, 2011, 2:08:42 AM4/7/11
to data-ra...@googlegroups.com

data-ra...@googlecode.com

unread,
Jul 6, 2011, 2:39:25 AM7/6/11
to data-ra...@googlegroups.com

data-ra...@googlecode.com

unread,
Sep 12, 2012, 9:49:56 AM9/12/12
to data-ra...@googlegroups.com
Comment by Zairiz3...@gmail.com:

Tq gogle

data-ra...@googlecode.com

unread,
Sep 24, 2012, 1:14:50 PM9/24/12
to data-ra...@googlegroups.com
Comment by pranavi...@gmail.com:

hi

data-ra...@googlecode.com

unread,
Nov 19, 2012, 2:21:45 AM11/19/12
to data-ra...@googlegroups.com
Comment by lscs...@gmail.com:

Who the hell and what is open source etc etc?

data-ra...@googlecode.com

unread,
Jan 6, 2013, 7:49:22 AM1/6/13
to data-ra...@googlegroups.com
Comment by ashokhee...@gmail.com:

yas

data-ra...@googlecode.com

unread,
Feb 25, 2013, 5:38:48 PM2/25/13
to data-ra...@googlegroups.com
Comment by jesus3...@gmail.com:

Inpresora para mi ipod

data-ra...@googlecode.com

unread,
Mar 1, 2013, 11:35:39 AM3/1/13
to data-ra...@googlegroups.com

data-ra...@googlecode.com

unread,
Mar 17, 2013, 10:51:14 PM3/17/13
to data-ra...@googlegroups.com
Comment by w...@wavehealth.org:

Thanks

data-ra...@googlecode.com

unread,
May 9, 2013, 3:20:52 AM5/9/13
to data-ra...@googlegroups.com
Comment by djval...@gmail.com:

Thanks

data-ra...@googlecode.com

unread,
May 30, 2013, 9:39:19 AM5/30/13
to data-ra...@googlegroups.com

data-ra...@googlecode.com

unread,
Jun 7, 2013, 10:04:07 AM6/7/13
to data-ra...@googlegroups.com
Comment by crazyboy...@gmail.com:

sorry, i'm a little stupid. i still don't understand how to use dynamic
annotations and how dynamic annotations word. Could someone be so nice to
explain it to me in detail please?
take pthread_cond_wait loop for example:
Mutex mu;
CondVar cv;

// In this example, a false data race on 'GLOB' may be reported if we don't
// insert ANNOTATE_CONDVAR_LOCK_WAIT(&cv, &mu);
void Thread1() {
GLOB = 1; // Access1
mu.Lock();
COND = 1;
cv.Signal(); // <<<<<<<<<<<<<<<<< Does ANNOTATE_CONDVAR_SIGNAL(&cv)
mu.Unlock();
}

void Thread2() {
mu.Lock();
while(COND != 1)
cv.Wait(&mu);
// W/o this annotation the race detector may report
// a false race between Access1 and Access2
// This annotation should be placed rigth after the while loop
ANNOTATE_CONDVAR_LOCK_WAIT(&cv, &mu); // <<<<<<< Matches SIGNAL in
Thread1()
mu.Unlock();
GLOB = 2; // Access2
}
what's the ANNOTATES mean here?

data-ra...@googlecode.com

unread,
Jun 7, 2013, 10:05:07 AM6/7/13
to data-ra...@googlegroups.com

data-ra...@googlecode.com

unread,
Jun 7, 2013, 10:06:07 AM6/7/13
to data-ra...@googlegroups.com
Comment by crazyboy...@gmail.com:

sorry, i'm a little stupid. i still don't understand how to use dynamic
annotations and how dynamic annotations work. Could someone be so nice to

data-ra...@googlecode.com

unread,
Jun 26, 2013, 2:11:19 AM6/26/13
to data-ra...@googlegroups.com
Comment by sayyedza...@gmail.com:

nice for us.Mr.Zakir Sayyed { Freelance Editor }

data-ra...@googlecode.com

unread,
Jul 20, 2013, 8:50:17 AM7/20/13
to data-ra...@googlegroups.com
Comment by theonemy...@gmail.com:

thx

data-ra...@googlecode.com

unread,
Aug 19, 2013, 9:19:16 AM8/19/13
to data-ra...@googlegroups.com
Comment by deskto...@gmail.com:

GoogleChromelabs.com

data-ra...@googlecode.com

unread,
Aug 21, 2013, 8:09:42 PM8/21/13
to data-ra...@googlegroups.com

data-ra...@googlecode.com

unread,
Aug 21, 2013, 8:10:42 PM8/21/13
to data-ra...@googlegroups.com

data-ra...@googlecode.com

unread,
Aug 25, 2013, 1:19:20 PM8/25/13
to data-ra...@googlegroups.com
Comment by lookoutyou666:

what is this and how i stop it

data-ra...@googlecode.com

unread,
Aug 29, 2013, 1:53:40 AM8/29/13
to data-ra...@googlegroups.com
Comment by moxwx...@gmail.com:

شكرا لكم المعلومات ممتازة
Reply all
Reply to author
Forward
0 new messages