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 2008 Threads] sending a message to a queue from timer tickPosted by JMR on June 16, 2008 Hi folks,
I need your enlightened views on the following. I've got a task (Task X) that spends most of its time suspended waiting on a message to be posted to a queue. This works fine so far. Other tasks send a message to this one via the queue and ISRs do the same. Now I'd like to use the tick hook function to manage a number of "timers" and when these timers lapse I'd like to send a message to task X. I can post a message to task X's queue but for some reason Task X doesn't "see" the message.
Any ideas as to how I could get this going?
Any help is most welcome, I seem to have a bit of a brain block and can't see a way out.
JM
RE: sending a message to a queue from timer tickPosted by JMR on June 16, 2008 Ignore this one...
It's amazing how putting down what you're trying to achieve crystallises the mind.
It was working all the time the problem was that I'm waiting on two queues. One that receives data from a serial port (and block for a time period) and the other one which gets looked at only if no data has come in.
Now all I have to do is "merge" the two queues into one... Oh I don't fancy that one somehow
JM
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|