In this paper, programmable security policies that enable software to direct hardware analysis towards a wide range of attacks is proposed. Scopes for Hardware implementation of the security policies that can protect the system against concurrent attacks are identified. Low overhead security handler for operating system trap management is proposed. The Work proposes and implements a scheme to identify data error detection and correction through the semaphore communication channels via the mutex slot tracking algorithm. Deadlock conditions among the communicating resources are avoided by using semaphore based regulatory schemes. The supported scheme includes mutex semaphore, deadlock detection, resource sharing, self-healing architecture and side layers support.