1acd2b5ce7
This commit fixes a bug in xTaskRemoveFromEvenetList() where in the check for scheduler suspension did not account for nested suspensions. Additionally, this commit updates all checks for scheduler suspension to follow a uniform way.