diff options
author | cleeland <cleeland@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1996-11-12 21:28:00 +0000 |
---|---|---|
committer | cleeland <cleeland@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1996-11-12 21:28:00 +0000 |
commit | 007a8ac625ea4437f792ab83518c87b560367193 (patch) | |
tree | 7981b3ad0504d21f0b70b3485337907bb7d245a2 /java/src/Semaphore.java | |
parent | 07e6c7d2b373f18880dbf612c0e0e50c3c81e9ee (diff) | |
download | ATCD-007a8ac625ea4437f792ab83518c87b560367193.tar.gz |
Made Makefile work a little better by only making individual packages.
It was also necessary to break up ASX (for the sake of the Makefile)
so that time-related items are compiled prior to other items.
TimeValue moved from ACE.Reactor into ACE.ASX.
Diffstat (limited to 'java/src/Semaphore.java')
-rw-r--r-- | java/src/Semaphore.java | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/java/src/Semaphore.java b/java/src/Semaphore.java index b7a587b30d8..7e50dd80194 100644 --- a/java/src/Semaphore.java +++ b/java/src/Semaphore.java @@ -13,9 +13,8 @@ package ACE.Concurrency; import java.util.*; import ACE.ASX.*; -import ACE.Reactor.*; -class TimedWaitSAdapter extends TimedWait +class TimedWaitSAdapter extends ACE.ASX.TimedWait { TimedWaitSAdapter (Object obj) { @@ -51,8 +50,8 @@ class TimedWaitSAdapter extends TimedWait /** * <hr> - * <p><b>TITLE</b><br> - * Implementation of a semaphore in java. + * <h2>SYNOPSIS</h2> + * Implementation of Dijkstra's counting semaphore in java. */ public class Semaphore { @@ -83,8 +82,8 @@ public class Semaphore *@exception TimeoutException wait timed out exception *@exception InterruptedException exception during wait */ - public synchronized void acquire (TimeValue tv) throws - TimeoutException, InterruptedException + public synchronized void acquire (TimeValue tv) + throws ACE.ASX.TimeoutException, InterruptedException { this.monitor_.timedWait (tv); this.monitor_.decrement (); |