Skip site navigation (1) Skip section navigation (2)

Win32 gettimeofday() comment patch

From: Qingqing Zhou <zhouqq(at)cs(dot)toronto(dot)edu>
To: pgsql-patches(at)postgresql(dot)org
Subject: Win32 gettimeofday() comment patch
Date: 2005-12-16 19:41:26
Message-ID: Pine.LNX.4.58.0512161439510.24231@eon.cs (view raw or flat)
Thread:
Lists: pgsql-patches
Add a note to Win32 gettimeofday() emulation.

Regards,
Qingqing

---

Index: gettimeofday.c
===================================================================
RCS file: /projects/cvsroot/pgsql/src/port/gettimeofday.c,v
retrieving revision 1.6
diff -c -r1.6 gettimeofday.c
*** gettimeofday.c      16 May 2005 05:52:13 -0000      1.6
--- gettimeofday.c      16 Dec 2005 19:37:41 -0000
***************
*** 36,41 ****
--- 36,43 ----

  /*
   * timezone information is stored outside the kernel so tzp isn't used anymore.
+  * Note: this function is not for Win32 high precision timing purpose, see
+  * elapsed_time() etc.
   */
  int
  gettimeofday(struct timeval * tp, struct timezone * tzp)


Responses

pgsql-patches by date

Next:From: Tom LaneDate: 2005-12-16 19:51:55
Subject: Re: Solaris cc compiler on amd: PostgreSQL does not have native spinlock support on this platform
Previous:From: Jaime CasanovaDate: 2005-12-16 19:29:05
Subject: Re: Single-Transaction Utility options

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group