On Thu, 2003-02-06 at 11:50, Vaclav Haisman wrote: > Hi, > this patch implements sched_rr_get_interval for NT systems. The patch consists > of two parts. > > The first part is detection of NT server systems, NT servers have different > time quanta than workstations. Unfortunately the server detection is not > perfect because GetVersionEx call with OSVERSIONINFOEX structure is supported > only on NT 4 SP6 and newer system. Therefore new is_system wincaps flag > defaults to false as I assume that there are more NT workstations than servers. > > The second part is implementation of sched_rr_get_interval in sched.cc itself. > I have used two main sources of informations about time quanta for NT systems. > Those sources are two web pages: > http://www.microsoft.com/mspress/books/sampchap/4354c.asp > http://www.jsifaq.com/SUBH/tip3700/rh3795.htm >
You should get for failure on all API calls you make - for instance the registry key reading one. Other than that, the sched.cc stuff looks good to me. This will need a copyright assignment though, and Chris/Corinna to chime in. Cheers, Rob -- GPG key available at: <http://users.bigpond.net.au/robertc/keys.txt>.
signature.asc
Description: This is a digitally signed message part