An Improved Safety Detection Algorithm Towards Deadlock Avoidance | IEEE Conference Publication | IEEE Xplore