Added implementation of interruption by resource manager in emulator