Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > Release sequence in C++0x memory model

Thread Tools

Release sequence in C++0x memory model

Giovanni Funchal Giovanni Funchal is offline
Junior Member
Join Date: Oct 2010
Posts: 1
While I think I've understood the definition of a "release sequence", I don't quite get why it is defined in such a way.

Basically, its a contiguous part of the modification order that starts with a release (let's call it X), and is followed by either (a) writes by the same thread or (b) RMWs.

The way I tend to interpret it is that a write by a different thread would cause a loss of "information" about X. RMWs don't cause this loss of information because of the "modify" aspect that carries some dependency on the previous value without completely erasing it. Is this intuition correct?

-- Giovanni
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: sequence points and the execution model Larry Gates C Programming 59 02-12-2009 01:00 AM
Re: sequence points and the execution model Kaz Kylheku C Programming 5 01-20-2009 06:46 AM
sequence points and the execution model George C Programming 7 01-20-2009 12:28 AM
how to iterate over sequence and non-sequence ? stef mientki Python 13 10-20-2007 10:21 AM
BOOT SEQUENCE (how to change boot sequence) bird Computer Support 13 12-24-2003 02:20 AM