|
-----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 hack the OS sources, thus
making it incompatibile with everyone else. If there's a good reason, then
why not let a user function be called every n milliseconds?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE91qOyoCEoi2uanUQRAuC4AKDgPzsTgbgCeQ8k+mChp74gnhNHcQCgvEuy
WxMbHfG4eHVu6EW9YfBT3tM=
=vbNM
-----END PGP SIGNATURE-----
|
|
Message has 1 Reply: | | 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)
|
3 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|