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] [June 2010 Threads] How a task and a co-routine can communicate?Posted by Amr Ali on June 20, 2010 I was wondering. The tasks can communicate with themselves and with ISRs through queues. The same applies for co-routines. The question that popped into my mind, how a co-routine and a task can communicate?
RE: How a task and a co-routine can communicate?Posted by Dave on June 21, 2010 Read the first paragraph of http://www.freertos.org/taskandcr.html
There is nothing to stop you using shared memory to pass information between the two.
RE: How a task and a co-routine can communicate?Posted by Amr Ali on June 21, 2010 In the header files of the co-routines, it says check the web page how a task can communicate with a co-routine. There is nothing like that in the web pages. By shared memory, you mean a global variable? What about synchronization if it was the case?
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|