Re: multi-threaded pgbench

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Itagaki Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: multi-threaded pgbench
Date: 2009-07-08 15:41:19
Message-ID: 4A54BE1F.1070401@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alvaro Herrera wrote:
> Itagaki Takahiro wrote:
>
>> Is it acceptable to use pthread in contrib module?
>
> We don't have a precedent it seems. I think the requirement would be
> that it should compile if pthread support is not present.

My thoughts as well. But I wonder, would it be harder or easier to use
fork() instead?

--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-07-08 15:46:05 Re: multi-threaded pgbench
Previous Message Heikki Linnakangas 2009-07-08 15:29:45 Re: Re: Synch Rep: direct transfer of WAL file from the primary to the standby