Re: Do I need a RTOS?
- From: "eeboy" <jason@xxxxxxxxxxxxxxxx>
- Date: Tue, 23 Dec 2008 22:31:13 -0600
That was an excellent example! It makes a lot of sense to me and I can't
see any immediate flaws with my intended application in mind. It also seems
'simple' enough that I can write it without investing a great deal of time.
I think I'll use that as my starting point. I am very much in agreement
with your comment on rolling your own. It's always been much more difficult
for me to inherit code or use others code than it is to make my own (within
reason of course). I'll get the benefit of learning how it works and what
it's positive and negative attributes are.
Just a few questions about implementation of such a scheme...
1) Are there any stats besides the number of items presently in the queue
that would be helpful to maintain?
2) I would envision using malloc and memcpy to implement the queue. Are
these appropriate (efficient enough) in the embedded world? I would assume
so but...
Also, any recommended books on this subject matter (keeping in mind that I
have zero experience in this realm)?
Thanks!
.
- Follow-Ups:
- Re: Do I need a RTOS?
- From: FreeRTOS.org
- Re: Do I need a RTOS?
- From: Chris H
- Re: Do I need a RTOS?
- From: Jonathan Kirwan
- Re: Do I need a RTOS?
- References:
- Do I need a RTOS?
- From: eeboy
- Do I need a RTOS?
- Prev by Date: Moncler Women's down vest
- Next by Date: Re: USART communication in PIC
- Previous by thread: Re: Do I need a RTOS?
- Next by thread: Re: Do I need a RTOS?
- Index(es):
Relevant Pages
|