# Tasks aren't switching

**URL:** <https://forums.freertos.org/t/tasks-arent-switching/22947>\
**Category:** Kernel\
**Tags:** tracealyzer, debug, trace, monitoring\
**Created:** [April 17, 2025, 10:34am UTC](https://forums.freertos.org/t/tasks-arent-switching/22947 "2025-04-17T10:34:28Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![RAc](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rac/32/1389_2.png) [@RAc](https://forums.freertos.org/u/RAc)\
**Post date:** [April 17, 2025, 11:11am UTC](https://forums.freertos.org/t/tasks-arent-switching/22947/6 "2025-04-17T11:11:58Z")

</div>

> [@Quesion about the function vTaskDelay()](https://forums.freertos.org/t/quesion-about-the-function-vtaskdelay/22943/2):
>
> vTaskDelay(1) will delay the task until the next tick occurs, which might be just moments later, or might be up to the full period of a tick. vTaskDelay(2) will delay the task until 2 tick occur, if the first one occurs very quickly after the call, the delay time might be just slightly over 1 tick in length. This is due to the granularity of measuring time in “ticks”. The whole period from the nth tick until the next tick occurs is consider to be the time of tick n, and that jumps to n+1 when …

---

_[View the full topic](https://forums.freertos.org/t/tasks-arent-switching/22947)._
