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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-patches by date

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