Itagaki Takahiro <itagaki.takah...@oss.ntt.co.jp> wrote:

> Greg Smith <gsm...@gregsmith.com> wrote:
> > That second code path, when --enable-thread-safety is turned off, crashes 
> > and burns on my Linux system:
> 
> It comes from confliction of identifiers.
> Renaming identifiers with #define can solve the errors:
> #define pthread_t                             pg_pthread_t

Here is a patch to fix compile errors by identifier-renaming
when thread-safety is disabled on linux.

Also I fixed file descriptor leaks at the end of benchmark.

Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center

Attachment: pgbench-mt_20090724.patch
Description: Binary data

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to