Implementation of sched_rr_get_interval for NT systems.

Robert Collins
Thu Feb 6 00:57:00 GMT 2003

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 itself.
> I have used two main sources of informations about time quanta for NT systems.
> Those sources are two web pages:

You should get for failure on all API calls you make - for instance the
registry key reading one. Other than that, the stuff looks good
to me. 

This will need a copyright assignment though, and Chris/Corinna to chime

GPG key available at: <>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the Cygwin-patches mailing list