This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Implementation of sched_rr_get_interval for NT systems.


Vaclav,

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 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
>
> Vaclav Haisman
>
> [snip ChangeLog]
>
> Index: cygwin/Makefile.in
> ===================================================================
> RCS file: /cvs/src/src/winsup/cygwin/Makefile.in,v
> retrieving revision 1.114
> diff -p -c -r1.114 Makefile.in
> [snip rest of patch]

I'm sure I'm nitpicking, but according to <http://cygwin.com/contrib.html>,
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,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]