G++ and C in FreeRTOS

richard_damon wrote on Thursday, February 18, 2010:

edwards, while you can’t (in general) use C++ syntax in a C program, FreeRTOS is compatible with C++ (I know, as I use it this way in a project, and Richard has placed the appropriately guarded  extern “C” statements in the headers so it works). Note that if ETHRxBinSemaphore is a global, then the language definition (C and C++) defines that it will be zero/NULL initialized automatically.