Writing a CRR Wait Routine for Multiuser Server Applications
CRR tolerates but does not exploit CMS multitasking capabilities, so the routine it uses to wait on asynchronous requests, the CMS-supplied CSL routine DMSCWAIT, causes CMS to go into a wait state. This means that no work can be done on the virtual machine until the request completes. Therefore, if you are writing an application that will perform multitasking, like a multitasking server for a shared resource, you will want to provide your own routine for waiting on an event. This will avoid making all clients of the shared resource wait on the event requested by one client.