Add Solution of a problem in concurrent programming control to resources