Re: [HACKERS] [PATCHES] fork/exec patch

From: "Steve Tibbett" <stibbett(at)zim(dot)biz>
To: "Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)com>
Cc: "pgsql-hackers-win32" <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: Re: [HACKERS] [PATCHES] fork/exec patch
Date: 2003-12-16 16:50:25
Message-ID: 546CD3100F4C0F42A30A94C0F2B349148FC621@zimmail1.zim.zimismobile.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32

>My feelings wrt messages were based on a general uneasiness
>surrounding WaitForSingleObject calls via a polling thread,
>because this will exhibit pseudo-random (thus difficult to
>debug) behavior.

In the pipe scenario, the thread wouldn't be polling - it
would enter a WaitForSingleObject(hPipeServer, INFINITE) and
simply sit there until either the pipe handle was closed or
there was a pipe event.

--
Steve Tibbett
stibbett(at)zim(dot)biz

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Magnus Hagander 2003-12-16 17:14:08 Re: [HACKERS] [PATCHES] fork/exec patch
Previous Message Andrew Dunstan 2003-12-16 16:48:12 Re: [HACKERS] [PATCHES] fork/exec patch