   =========================================================================
                        M I C R O   F O C U S

                  S E R V E R   E X P R E S S  5.0
   =========================================================================

                              DEMO - MTHREAD
                              ==============
  
   TABLE OF CONTENTS
   =================

       INTRODUCTION
       SOURCE FILES

   INTRODUCTION
   ============
  
   This application consists of a main Server thread, which responds  
   to client requests by starting off separate threads to handle 
   those requests. There are a few variations to a the idea of a 
   real Server application in that:
    
   -  the Client is simply a user interface thread running 
      within the same process as the Server
    
   -  the Service threads simply write to the screen to 
      indicate that they are actually working.
    
   In spite of these simplifications, the Server and Service 
   communications architecture (that is, a Producer/Consumer model)
   would work very effectively in a production Server application. 
   Ideally, all clients would establish communication with the 
   server via CCI or AAI or some such communications protocol.
  
  
   SOURCE FILES
   ============
  
   mthread.txt  - This file.
  
   mthread.cbl  - The main Server program for starting user
   interface and service routines.
  
   service.cbl  - The common Service program that handles the 
   various requests coming from the server.
  
   servui.cbl   - The user interface to generate simple Client 
   requests to the Server and report service status.
  
   servwrk.cpy  - External record that includes all monitors and 
   data items for communicating status and requests between Client, 
   Server and Service routines.
  
   servlnk.cpy  - Linkage record that describes the request from 
   Server to Service routine.
  
   servdisp.cpy - External record that allows coordination and 
   exclusion of display access between the User Interface and 
   Service routines (as they all access the display).
  
   =========================================================================
   Micro Focus is a registered trademark, and Server Express is a trademark,
   of Micro Focus International Limited. 
   =========================================================================
   Copyright (C) 1999 Micro Focus International Limited. 
   All rights reserved.

