Re: Time scheduler
- From: John <sampson164@xxxxxxxxx>
- Date: Sat, 28 Mar 2009 02:56:17 -0700 (PDT)
On Mar 28, 4:34 am, "N.N" <N...@xxxxxxxxx> wrote:
John wrote:
On Mar 27, 6:53 pm, "N.N" <N...@xxxxxxxxx> wrote:
Do you know any PC or Mac software for designing task scheduling (I
don't know exact name in english, so I can't use google) by graphically.
E.g. I have one task which have to occur with period of very high
frequency but it doesn't take very much time and other task with period
of low frequency but long duration. Those tasks are data transfers and I
will program start time by sw but before that I have to find timings
using that desing application.
So I want to know some application for that purpose.
cron?
No. I mean design application. This (you proposed) is some job scheduler
for pc. I have embedded sw and some data transmissions with limited
bandwith. Before I can implement my sw, I have to design timings.
Like mathlab for algorithms, ms vision for sw block diagrams, ... but
what application for the purpose of that I explained. Did you
understand? I have mac osx but I can also use windows emulator.
Sorry my english, I can't explain better.
I'm not aware of any design s/w that would assist you in task
scheduling on a PC or Mac, that is the job of the OS. You can tell the
OS when to run your threads, however. Normally the arrival of new data
from an external source can trigger an interrupt. The ISR can send a
message to your high-frequency processing thread. That thread uses
select() to sleep until message arrives. A second thread handles the
low-frequency processing. That thread also uses select() to wait for a
message from the high-frequency thread.
Alternatively, you could use semaphores. Google "interprocess
communications".
John
.
- References:
- Time scheduler
- From: N.N
- Re: Time scheduler
- From: John
- Re: Time scheduler
- From: N.N
- Time scheduler
- Prev by Date: Re: Writing low level DSP code in C++ in lieu of C
- Next by Date: SPAM
- Previous by thread: Re: Time scheduler
- Index(es):
Relevant Pages
|