Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


Loading

Comparison to non-Embedded C#.Net

Posted by Brett Hancock on June 12, 2012
Hi folks:

I am new to RTOS but have been trying to do and learn some threading in C#.NET. Maybe that will make RTOS more understandable at the embedded level.

Would you say there is a large parallel between the world of Threading and thread management with Windows desktop applications and C#.NET world versus that of the embedded world of RTOS? Would you say that the concepts like Locks, Mutex, and Semaphores are pretty much the same?

RE: Comparison to non-Embedded C#.Net

Posted by Richard on June 16, 2012
I was hoping that somebody with some C# experience might answer this one. I don't have C# experience but would imaging there is a large parallel between the Windows/C# style threading and threading in an RTOS.

The principals of multitasking are the same - only the scheduling algorithm changes. The objective of a Windows system is completely different to that of a real time system (responsiveness, etc. Vs guaranteed real time responses), but as far as multi tasking goes, both systems have to cope with the same issues. Those issues are inter task/thread communication, synchronization, sharing resources between different threads of execution, etc. and the primitives used to handle these are bascially the same.

There is a distinction in Windows/Linux type desktop systems between a process and a thread. In FreeRTOS there is no concept of a process, and in effect FreeRTOS tasks are analogous to windows threads that all run in a single process.

Regards.


[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]


Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Renesas

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner