[Mono-devel-list] [PATCH] Bug Fix for GetTickCount in WAPI IO Layer

Jesse Towner townerj at gmail.com
Sat Feb 26 16:07:44 EST 2005


This should fix the problem of System.Environment.TickCount reporting
incorrect values on
non-windows systems. It now determines the boot time of the system, and
from there can
determine the uptime, which is what GetTickCount requires. I haven't
tested it on all of the
platforms it should support, so any feedback would be appreciated.

The files modified are:

/mono/mono/io-layer/timefuncs.c
/mono/mono/io-layer/timefuncs-private.c

It should be merged from the /mono/mono/io-layer/ directory.

------------------------------------------------------------------------
Jesse Towner, Lead Programmer, Hybrid Mobile Technologies, LLC
Email Addresses: <jtowner at hybrid-mobile.com>, <townerj at gmail.com>
PGP Public Key: http://www.virtuallyonline.net/personal/jesse/pgp.html

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: io-layer.diff
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050226/3fd77dea/attachment.pl 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050226/3fd77dea/attachment.bin 


More information about the Mono-devel-list mailing list