Last Edited by:
Kupfer, July 27, 1984 11:00:36 am PDT
Bob Hagmann March 24, 1988 2:57:45 pm PST
DIRECTORY
YggEnvironment USING [Conversation, OpenFileID, TransID],
YggInternal USING [TransHandle],
Rope USING[ROPE],
YggWorker USING [Handle]
;
YggMonitoringHooks:
CEDAR DEFINITIONS =
BEGIN
ShouldAbort: TYPE = {notActive, abort, dontAbort};
YES: BOOL = TRUE;
FileInfoToTransID:
PROC [conversation: YggEnvironment.Conversation, openFileID: YggEnvironment.OpenFileID]
RETURNS [YggEnvironment.TransID];
! AF.Unknown{openFileID, transID}
FilePrivateImpl.FileInfoToTransID (seems like as good a place as any). Weaves its way through a bunch of maps and returns the transaction ID corresponding to "conversation" and "openFileID". Unknown.openFileID includes unknown conversation.
InactiveWorker:
PROC [YggWorker.Handle]
RETURNS [
BOOLEAN];
Implemented in WorkerImpl. Tells whether the worker is considered to be "inactive".
TestForAbort:
PROC [self: YggWorker.Handle]
RETURNS [ShouldAbort];
Implemented in WorkerImpl. Tells whether this worker could be aborted if we are looking for things to abort. ShouldAbort is defined here because TestForAbort was originally defined in WorkerImpl as returning an anonymous type.
TransIDFromTransHandle:
PROC [h: YggInternal.TransHandle]
RETURNS [YggEnvironment.TransID];
WorkerImpl.TransIDFromTransHandle.
TransIDToRope:
PROC [transID: YggEnvironment.TransID, includeRName:
BOOL ←
YES]
RETURNS [Rope.
ROPE];
CoordinatorTransIDImpl.TransIDToRope. Returns a string which identifies the transaction. If "includeRName," the string includes the RName owning the transaction.
END.
CHANGE LOG
Edited on July 20, 1984 11:46:48 am PDT, by Kupfer
Add TransIDFromTransHandle.
Edited on July 24, 1984 2:48:20 pm PDT, by Kupfer
Add FileInfoToTransID.
Edited on July 27, 1984 10:58:46 am PDT, by Kupfer
Add TransIDToRope.