摘要 |
Disclosed is a resource sharing system having a host computer and a plurality of a client computers connected by a Local Area Network (LAN). Resource sharing software, located in the host, is comprised of a supervisor process, a spooler process, and a plurality of session worker processes. This supervisor receives an initial call request from a client, and creates a session worker to handle all subsequent requests from that particular client. Each session worker creates a plurality of co-routines, one for each concurrent request, which operate to provide a high-performance response to the network. Co-routines share the session worker stack, as well as all other areas in the session worker. Because co-routines never interrupt each other, there is no competition for resources, and no need for critical sections of software.
|