Apple AppleShare 3.0 File Server Controls Manual de usuario Pagina 34

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 79
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 33
(theSEQPtr: ExtendedSEQEntryPtr;
theSERecPtr: ServerEventRecordPtr);
VAR
theSERecQElemPtr: SERecQElemPtr;
BEGIN
WITH theSEQPtr^ DO
BEGIN
IF freeQ.qHead <> NIL THEN
BEGIN
{ Get the server event record out of the freeQ. }
theSERecQElemPtr := SERecQElemPtr(freeQ.qHead);
IF Dequeue(QElemPtr(theSERecQElemPtr), @freeQ) <>
noErr THEN
; { Do nothing with errors-- }
{ you'd better not be getting them! }
END
ELSE
BEGIN
{ The freeQ is empty, so get the oldest server }
{ event record out of the usedQ. }
theSERecQElemPtr := SERecQElemPtr(usedQ.qHead);
IF Dequeue(QElemPtr(theSERecQElemPtr), @usedQ) <>
noErr THEN
; { Do nothing with errors-- }
{ you'd better not be getting them! }
END;
{ Copy the server event record into my server }
{ event record, }
theSERecQElemPtr^.theSERec := theSERecPtr^;
Vista de pagina 33
1 2 ... 29 30 31 32 33 34 35 36 37 38 39 ... 78 79

Comentarios a estos manuales

Sin comentarios