FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [January 2015 Threads] Task ParallelismPosted by andrewalo on January 29, 2015 Hi Guys,
I'm trying to implement parallelism on FreeRTOS (with multiple core). I don't understand well how works parallelism on this kernel. For Example i have to make an application with two task: one makes some operation getting in output a specific state, and the another one (in parallel mode)check this state and make others operation. I understand that in FreeRTOS, two task continuously can switch-in and out but don't run togheter, maybe can i resolve this with co-routine?or it is done automatically when i used a multicore processor?
Thanks you a lot!
Task ParallelismPosted by rtel on January 29, 2015 Sorry - I don't understand your question. You can only have one task running on one core at a time, and as you say, the tasks appear to execute in parallel because they are switched in and out rapidly. If you want to tasks running genuinely in parallel you will need more than one core.
Regards.
Task ParallelismPosted by andrewalo on January 29, 2015 My question is: on multi-core processor (for example dual core) have i two task in running state automatically without declaring specific statements to implements it in FreeRTOS (for example in pseudocode: var par task2) or specify more than one core?I think that you' ve already answered me :)
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|