On Wednesday 23 April 2008 18:54, Andreas Berger wrote:
> It's time to port a DOS application to something else. The first (and
> best/easiest) option is to port to FreePascal for Windows/Linux. The
> second is to make a propriety board with an arm processor (also
> Freepascal). For the first option I would use SynaSer, but I have
> some questions that need to be answered.
>
> 1) If I give the read thread "timecritical" priority, will it respond
> within 2ms after all is read in Windows and Linux?
No. Neither Windows nor Linux are RTOSes out of the box, so in practice
they *may* respond as fast as you want it here, but there's noone who
can guarantee that to you. You can maybe measure it and then say
something like "in 99% of the cases it does", but there's still no
guarantee. Well, if you decide that those 99% may be good enough for
you then, you don't need real-time, anyway. ;)
> 2) If I send a large amount of data (which is obviously buffered by
> the OS) will Windows and Linux send if efficiently without lapses?
Usually both OSes do, yes. That still does not mean that other tasks can
interfere with that "usuality".
Vinzent.
--
Yet a warning is nothing more than the compiler, which knows far more
about the language than most of us, saying "hey, you're scaring me,
man."
-- Jack Ganssle, Embedded Muse 129
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public