thread_suspend_check_needed
if (thread_suspend_check_needed()) {
while (thread_suspend_check_needed()) {
bool thread_suspend_check_needed(void);