>Johnny Billquist wrote:
[Snip]

I was attempting to suggest that my understanding of
what Johnny wrote was that a .Purge was done for
both CSI routines since Johnny wrote:

"Must be looking at different versions of something,"

in reference to your statement (just a line above):

"Note, .CSISPC (C$SISP:) does not purge or open files."

If Johnny could please clarify, that would be helpful.
I am only suggesting that I don't understand Johnny's
response, but that I tend to conclude that Johnny's
words mean that he thinks that both CSI routines
do perform a .Purge loop. Ian and I have concluded
that only .CSISPC (C$SISP:) performs the .Purge loop.

I have never made any distinction between various parts of the CSI, just noting that CSI calls USR.

Which is done both through an EMT 374 right at the start of C$SIGN, and later you have a "JMP  EMTUSR" (which would appear to happen for both).

And so, it would appear to me, that a call to CSI would block other USR calls, for the most part of the CSI processing.
I think that the situation is not as black and white as
you suggest.

(a)  Whenever the user is using the keyboard to enter
       the CSI file names (for BOTH C$CSISP and
       C$CSIGN), the USR is released and the job
       is placed into wait state until the <RETURN>
       key is used

(b)  C$CSISP does not perform any disk I/O to
       open files, it only parses the data and returns
       the specified information to the user - which
       means that the USR, even if it is blocked, is
       blocked for a very short time

So while you are correct that the USR is used, the
blocking will be negligible for a C$CSISP request.
I don't have a good estimate, but I would not expect
the blocking to be a problem compared to the actual
blocking when the actual files that the program is told
by the user to process via the C$CSISP request are
actually opened.  Note that programs like LINK.SAV
are careful to perform all of the USR requests very
early on and all at the same time after which the files
are .SaveStatus followed by a .ReOpen when the file
actually needs to be read.  This limits the use of the
USR to a short period when (in the case of RT11FB)
the USR is already in memory and al of the .LookUp
requests are done at the same time.

Jerome Fine