add check if a task with higher priority is available

- wakeup handler checks if a task with higher priority is available
- if yes the handler calls the scheduler
This tag has no release notes.