glib/gthread.c (gettime) GetSystemTimeAsFileTime() returns 100s of
authorTor Lillqvist <tml@novell.com>
Tue, 16 Jan 2007 13:57:05 +0000 (13:57 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Tue, 16 Jan 2007 13:57:05 +0000 (13:57 +0000)
commit098d17a4fc3f090e5a109505981e2e4d4f0f6810
treea4cccc6ea18bff48e0f660b74dfb77ce2ab72709
parent5d65767801a6effa3c6da9d4cedb4cffed794b1f
glib/gthread.c (gettime) GetSystemTimeAsFileTime() returns 100s of

2007-01-16  Tor Lillqvist  <tml@novell.com>

* glib/gthread.c (gettime)
* gthread-win32.c (g_gettime_win32_impl):
GetSystemTimeAsFileTime() returns 100s of nanoseconds since 1601,
so offset to Unix epoch (1970) and multiply by 100 to get
nanoseconds which is what we want.

svn path=/trunk/; revision=5277
ChangeLog
glib/gthread.c
gthread/ChangeLog
gthread/gthread-win32.c