Implementation of sched_rr_get_interval for NT systems.

Christopher Faylor
Thu Feb 6 02:28:00 GMT 2003

On Wed, Feb 05, 2003 at 08:46:12PM -0500, Igor Pechtchanski wrote:
>On Thu, 6 Feb 2003, 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:
>> Vaclav Haisman
>> [snip ChangeLog]
>> Index: cygwin/
>> ===================================================================
>> RCS file: /cvs/src/src/winsup/cygwin/,v
>> retrieving revision 1.114
>> diff -p -c -r1.114
>> [snip rest of patch]
>I'm sure I'm nitpicking, but according to <>,
>diffs should be sent in unidiff format with function names (-u and -p).
>Someone please correct me if I'm wrong and this doesn't matter.  Thanks,

You're not wrong and it does matter.

I will give this function more inspection later, but for the future please
submit using the options that Igor specified.

Robert is right that you do need an assignment, too.  This is adding new

Thanks for the patch and sorry for the rules.  :-)


More information about the Cygwin-patches mailing list