resource allocation scheduling and deadlock analysis 2665928