# The Win32 simulator port

**URL:** <https://forums.freertos.org/t/the-win32-simulator-port/777>\
**Category:** Kernel\
**Created:** [May 4, 2012, 10:15am UTC](https://forums.freertos.org/t/the-win32-simulator-port/777 "2012-05-04T10:15:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [May 4, 2012, 10:15am UTC](https://forums.freertos.org/t/the-win32-simulator-port/777/1 "2012-05-04T10:15:33Z")

</div>

**[ardroliat](https://sourceforge.net/u/ardroliat/)** wrote on [Friday, May 04, 2012](https://sourceforge.net/p/freertos/discussion/382005/thread/217ed3a3/#5014):

Hi  
I am looking at the code and main() in particular.  
The first line of code is  
xTaskCreate( … )

I was expecting at least a call to intialise FreeRTOS so&nbsp; something like&nbsp; InitFreeRTOS() so that appropriate stuff gets initialised.

Am I missing something?

Kind regards

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [May 4, 2012, 10:21am UTC](https://forums.freertos.org/t/the-win32-simulator-port/777/2 "2012-05-04T10:21:27Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Friday, May 04, 2012](https://sourceforge.net/p/freertos/discussion/382005/thread/217ed3a3/#246c):

Nothing missed.&nbsp; There is no such function in FreeRTOS.

As FreeRTOS is statically linked, the C startup code clears anything to zero that needs clearing to zero, and initialises any variables that need initialising to anything other than zero.

One of the memory allocators does a bit more the first time it is called, but it takes care of that automatically.

Regards.
