Resource management
Resource management seeks to control access in order to prevent both of these situations.