summaryrefslogtreecommitdiff
path: root/java/src/StreamTail.java
diff options
context:
space:
mode:
authoreea1 <eea1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-08 22:16:46 +0000
committereea1 <eea1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-08 22:16:46 +0000
commite75e64e6b93800116de5e7da5f16a87006d20b22 (patch)
tree44ea3c9fd203fce5d7c12d752fdc75c5cd1b9d01 /java/src/StreamTail.java
parent4c8e64c42a2a50576b94bcdcaab3af11ef69106e (diff)
downloadATCD-e75e64e6b93800116de5e7da5f16a87006d20b22.tar.gz
*** NOTE:
Changed the semantics of Condition, TimedWait, MessageQueue, Task, Mutex, Semaphore, and Token to use absolute times for their timeouts. Changed the semantics of EventHandler, ServiceObject, and SvcHandler such that handleTimeout receives a TimeValue representing when the event occured. Changed TimerQueue internally to reflect the above changes. Also made better checks in Token and Mutex so that non-owners can call release without adverse effects. I plan to try to do this with Semaphore and RWMutex as well. Fixed several bugs in Token tryacquire and renew. Added relativeTimeOfDay methods to TimeValue.
Diffstat (limited to 'java/src/StreamTail.java')
-rw-r--r--java/src/StreamTail.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/StreamTail.java b/java/src/StreamTail.java
index 44f9dde6634..26f05d167e8 100644
--- a/java/src/StreamTail.java
+++ b/java/src/StreamTail.java
@@ -60,7 +60,7 @@ public class StreamTail extends Task
default:
mb.msgType (MessageType.MB_IOCNAK);
}
- return this.reply (mb, new TimeValue ());
+ return this.reply (mb, null);
}
// Perform flush algorithm as though we were the driver
@@ -77,7 +77,7 @@ public class StreamTail extends Task
if ((f & TaskFlags.ACE_FLUSHR) != 0)
{
this.sibling ().flush (TaskFlags.ACE_FLUSHALL);
- return this.reply (mb, new TimeValue ());
+ return this.reply (mb, null);
}
return 0;
}