When sleep is called , the caller is blocked until another process wakes it up by using the wakeup routine .
When sleep is called , the caller is blocked until another process wakes it up using the alarm routine .