update_running_head() could be called in SVCall functions, it searches for next running thread if the 'Running Head' thread status has been set to non-running.
Performing a searching in SVCall is unnecessary and costs too much expensive SVCall execution time.
Reset the searching start head to thread list and return in this case, let the scheduler in PendSV handles the searching.
Description
Description