Re: CreateProcess vs Create Thread

From: Marsh Ray <marsh-pg(at)mysteray(dot)com>
To:
Cc: pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: CreateProcess vs Create Thread
Date: 2003-11-14 02:00:59
Message-ID: 3FB4375B.5050005@mysteray.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32

Joshua D. Drake wrote:

> 1. Are we just a bunch of Unix coders trying to develop a product for
> Win32 or are there any people a part of the Win32 port project that
> actually have REAL, hardcore experience coding at the system level for
> Win32?

I've got exactly 10 years' experience as a Win32 coder, most of it on
the server side. I haven't yet committed any time to the effort, but I
suppose if I keep yacking on this list, then I'll have to.

I really think what Steve Tibbett said is right on the money:

>CreateProcess has to come first since all the work that happens for the
>multithreaded version also has to happen for the CreateProcess version, and
>it's just natural that it will come first.
>It makes a lot of sense for Postgres to get the CreateProcess version
>working and stable before embarking on threads - Win32 and threading are two
>separate and mostly unrelated tasks, but threading on Win32 can't happen
>until Win32 is stable.
>
I'll guess that once any Win32 version is out there with a nice
installer and documentation, it will quickly become popular. It probably
won't too slow for most uses, although benchmarkers might form lasting
first impressions from it. This will probably reveal a demand for a
threaded version.

- Marsh

In response to

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Joshua D. Drake 2003-11-14 21:58:02 Win32 pg_ctl
Previous Message Marsh Ray 2003-11-14 01:58:24 Re: CreateProcess vs Create Thread