Suppose a process attempts to go to sleep on event A but has not yet executed the code in sleep(). At this point an interrupt occurs and due to which interrupt handler awakens all the processes asleep on event A. What will happen to the process mentioned above which was attempting to sleep but not slept yet? Is this dangerous situation? Is so, how can kernel avoid it?