# Where is the definition of "prvIdleTask"

**URL:** <https://forums.freertos.org/t/where-is-the-definition-of-prvidletask/11045>\
**Category:** Kernel\
**Created:** [November 4, 2020, 3:25pm UTC](https://forums.freertos.org/t/where-is-the-definition-of-prvidletask/11045 "2020-11-04T15:25:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![juri3953](https://avatars.discourse-cdn.com/v4/letter/j/fbc32d/32.png) [@juri3953](https://forums.freertos.org/u/juri3953)\
**Post date:** [November 4, 2020, 3:25pm UTC](https://forums.freertos.org/t/where-is-the-definition-of-prvidletask/11045/1 "2020-11-04T15:25:41Z")

</div>

Sorry for that maybe the question is too fooly, I can not find the definition of “prvIdleTask”  
/\* Create the idle task without storing its handle. \*/  
xReturn = xTaskCreate( prvIdleTask, “IDLE”, tskIDLE\_STACK\_SIZE, ( void \* ) NULL, ( tskIDLE\_PRIORITY | portPRIVILEGE\_BIT ), NULL );

Thank you very much!

---

<div class="post-metadata">

**Author:** ![aggarg](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/aggarg/32/4245_2.png) [@aggarg](https://forums.freertos.org/u/aggarg)\
**Post date:** [November 4, 2020, 5:34pm UTC](https://forums.freertos.org/t/where-is-the-definition-of-prvidletask/11045/2 "2020-11-04T17:34:33Z")

</div>

Here it is: [https://github.com/FreeRTOS/FreeRTOS-Kernel/blob/master/tasks.c#L3423](https://github.com/FreeRTOS/FreeRTOS-Kernel/blob/master/tasks.c#L3423)

Thanks.
