Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.arch.embedded > #21506
| Path | csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!nntp.club.cc.cmu.edu!micro-heart-of-gold.mit.edu!bloom-beacon.mit.edu!bloom-beacon.mit.edu!panix!not-for-mail |
|---|---|
| From | Grant Edwards <invalid@invalid.invalid> |
| Newsgroups | comp.arch.embedded |
| Subject | Re: What means of word 'quesue' in this RTOS description? |
| Date | Fri, 24 Jul 2015 19:34:56 +0000 (UTC) |
| Organization | PANIX Public Access Internet and UNIX, NYC |
| Lines | 40 |
| Message-ID | <mou410$fdo$1@reader1.panix.com> (permalink) |
| References | <84e20976-0c3c-4776-8aa5-27eabfd9c700@googlegroups.com> <7IKdnb0i8rBmFy_InZ2dnUU7-SednZ2d@giganews.com> |
| NNTP-Posting-Host | 67-130-15-94.dia.static.qwest.net |
| X-Trace | reader1.panix.com 1437766496 15800 67.130.15.94 (24 Jul 2015 19:34:56 GMT) |
| X-Complaints-To | abuse@panix.com |
| NNTP-Posting-Date | Fri, 24 Jul 2015 19:34:56 +0000 (UTC) |
| User-Agent | slrn/1.0.2 (Linux) |
| Xref | csiph.com comp.arch.embedded:21506 |
Show key headers only | View raw
On 2015-07-24, Tim Wescott <seemywebsite@myfooter.really> wrote:
>
>> I read an online tutorial on RTOS, see below dot line please.
>> I am not clear about what is for the word 'queue' in the first line.
>> Does it mean a task queue?
>
>> Thanks in advance.
>> ....................
>> The use of a queue allows the medium priority task to block until an
>> event causes data to be available - and then immediately jump to the
>> relevant function to handle the event. This prevents wasted processor
>> cycles - in contrast to the infinite loop implementation whereby an
>> event will only be processed once the loop cycles to the appropriate
>> handler.
>
> I'm not sure what you mean by "task queue".
I think that in this case your explanation below is correct. In other
contexts, "task queue" might refer to a data structure internal to an
RTOS scheduler that defines an ordered set of the runnable tasks (the
order could be determined strictly by task priority or by some other
equitable-round-robin type scheme). It's a queue that contains tasks
as its data elements.
> Generally, RTOS implementations don't bind a queue to any specific task.
> Rather, the developer does so: anything can put messages into a queue,
> anything can take messages off of a queue, and anything can pend on a
> queue. If the developer is wise, only one task takes things off the
> queue, and there is a well-defined, small number (one is best) of sources
> that put things on the queue.
>
> You arrange things so that the task that depends on the queue needs to
> run if and only if there's a message on the queue, and you have the task
> pend on the queue having a message available.
--
Grant Edwards grant.b.edwards Yow! Pardon me, but do you
at know what it means to be
gmail.com TRULY ONE with your BOOTH!
Back to comp.arch.embedded | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
What means of word 'quesue' in this RTOS description? Robert Willy <rxjwg98@gmail.com> - 2015-07-24 04:12 -0700
Re: What means of word 'quesue' in this RTOS description? Les Cargill <lcargill99@comcast.com> - 2015-07-24 07:47 -0500
Re: What means of word 'quesue' in this RTOS description? Tim Wescott <seemywebsite@myfooter.really> - 2015-07-24 13:59 -0500
Re: What means of word 'quesue' in this RTOS description? Grant Edwards <invalid@invalid.invalid> - 2015-07-24 19:34 +0000
Re: What means of word 'quesue' in this RTOS description? Les Cargill <lcargill99@comcast.com> - 2015-07-24 20:52 -0500
Re: What means of word 'quesue' in this RTOS description? Tim Wescott <seemywebsite@myfooter.really> - 2015-07-24 22:18 -0500
Re: What means of word 'quesue' in this RTOS description? Les Cargill <lcargill99@comcast.com> - 2015-07-26 09:27 -0500
Re: What means of word 'quesue' in this RTOS description? Don Y <this@is.not.me.com> - 2015-07-26 08:51 -0700
Re: What means of word 'quesue' in this RTOS description? Tim Wescott <seemywebsite@myfooter.really> - 2015-07-26 16:23 -0500
Re: What means of word 'quesue' in this RTOS description? upsidedown@downunder.com - 2015-07-25 08:57 +0300
Re: What means of word 'quesue' in this RTOS description? Don Y <this@is.not.me.com> - 2015-07-24 12:34 -0700
Re: What means of word 'quesue' in this RTOS description? Robert Willy <rxjwg98@gmail.com> - 2015-07-24 14:03 -0700
Re: What means of word 'quesue' in this RTOS description? Don Y <this@is.not.me.com> - 2015-07-24 14:37 -0700
csiph-web