[2013] in java-interest

home help back first fref pref prev next nref lref last post

Re: Object level concurrency control.

daemon@ATHENA.MIT.EDU (Simon Spero)
Thu Sep 21 19:46:48 1995

Date: Thu, 21 Sep 1995 13:52:23 -0700 (PDT)
From: Simon Spero <ses@tipper.oit.unc.edu>
To: Leon Hurst <lahurst@maths.tcd.ie>
cc: java-interest@java.sun.com
In-Reply-To: <9509211155.aa29135@salmon.maths.tcd.ie>

On Thu, 21 Sep 1995, Leon Hurst wrote:

> Seen as Java is both multithreaded and Object Oriented I was wondering
> if there was any object level concurrency control available or in the
> works. For example can one specify a set of methods as "serialised",
> meaning that only one of these methods can be executing at a time.

See the "synchronized" method type modifier; if a synchronised method is 
called, it aquires the objects lock, and doesn't release until the method 
completes.

Simon
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post