Basic HTML version of Foils prepared May 19 99

Foil 15 Synchronization

From Elements of Concurrent Programming in Java Tango Group Internal Technology Seminars -- Spring 99. by Lukasz Beca


1 Primitive operations are atomic
  • exception: assignments to long and double variables
2 synchronized methods
3 synchronized(anyObject){ anyCode()} blocks
4 class-level static methods and blocks synchronization
5 synchronized qualifier can be overridden in subclasses

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Wed May 19 1999