| | Why...
|
| -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ... is the minimum timeslice interval 5ms? I'm writing a program that needs a routine to be run every 1ms for a period of time. I did this by setting it as the timeslice handler, but then I needed to (...) (22 years ago, 16-Nov-02, to lugnet.robotics.rcx.legos)
| | | | Re: Why...
|
| Nick, Setting the timeslice to a low number (5ms is fairly low), negetively effects overall system performance. Time used by the operating system for task switching is taken away from applications. If a switch takes .5ms (for example) and you switch (...) (22 years ago, 21-Nov-02, to lugnet.robotics.rcx.legos)
| | | | Re: Why...
|
| -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 (...) The OS should not impose conditions on the programmer. Just put in the docs "numbers less than 5ms (the default) are not recommended" or something to that effect. (...) My code isn't a task. It's (...) (22 years ago, 23-Nov-02, to lugnet.robotics.rcx.legos)
| |