In a data processing system including a central processing unit and a main storage capable of executing a plurality of processes concurrently and wherein access to resources is shared by at least two of the processes, and where a first process executing in the central processing unit may be interrupted by a second process, the method of sharing control of the shared resources, comprising the steps