XlPrivateSplit.mesa
Copyright Ó 1990, 1991 by Xerox Corporation. All rights reserved.
Christian Jacobi, February 22, 1990
Christian Jacobi, July 20, 1992 4:58 pm PDT
Private interface to split implementation of Xl into several modules.
All procedures assume caller knows what he is doing.
No procedure is useful for clients.
This module is recompiled freely with the implementation of Xl.
Connection set up
InitServiceStuff:
PROC [c: Connection];
And increases "ref count"
To be called after StartMainLoop because it needs to do some requests
Callable without monitor lock hold only
InitAtomStuff:
PROC [c: Connection];
To be called after InitServiceStuff because it needs service for caching
Callable with or without monitor lock hold
SetupGraphics:
PROC [c: Connection];
To be called to initialize graphic stuff
Callable with or without monitor lock hold
StartMainLoop:
PROC [c: Connection];
To enable connection getting replies and events
Despite its name, it may be called early
Callable without monitor lock hold only
Connection close down
ReleaseService:
PROC [c: Connection];
And decreases "ref count"
Callable with or without monitor lock hold
CloseCommunications:
PROC [c: Connection];
Closes saved streams
Callable with or without monitor lock hold
KillReplies:
PROC [c: Connection, wedged:
BOOL ¬
TRUE];
All processes waiting for a reply will get an XError
Callable with or without monitor lock hold