Itagaki Takahiro <itagaki.takahiro@oss.ntt.co.jp> wrote:
> Greg Smith <gsmith@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