Atomicity block (Alexi)
1 Feb 2004 12:51:21 -0500

          From comp.compilers

Related articles
Atomicity block (2004-02-01)
Re: Atomicity block (Les Cargill) (2004-02-04)
Re: Atomicity block (Thad Smith) (2004-02-04)
Re: Atomicity block (2004-02-04)
Re: Atomicity block (2004-02-04)
Re: Atomicity block (2004-02-08)
Re: Atomicity block (Ken Hagan) (2004-02-12)
[2 later articles]
| List of all articles for this month |

From: (Alexi)
Newsgroups: comp.distributed,comp.programming,comp.compilers
Date: 1 Feb 2004 12:51:21 -0500
Keywords: parallel, question
Posted-Date: 01 Feb 2004 12:51:21 EST

Many languages introduce structures/keywords for critical sections,
monitors and other similar stuff that does synchronisation, mutual
exclusion and etc. Is there anything similar for atomicity? I mean
some monitor-like construction that would tell compiler to generate
uninterraptable code that would have exclusive access to all addressed
memory and may be other resources. All asynchronous events may be
suspended until the end of such construct, that seems quite possible.
And waht about exclusive memory access? This might require some
support from OS/HW

If we are speaking in terms of some high-level language, can we build
atomicity using monitors and mutexes (ignoring async signals)? I mean
if one protects all the global variables using mutexes, puts monitor
on the method, will he get atomic routine?

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.