Re: [PATCHES] ecpg thead-safe memory management + cleanup

2007-09-30 Thread Michael Meskes
On Fri, Sep 28, 2007 at 03:00:54PM +0900, ITAGAKI Takahiro wrote: Here is a patch to get memory management to thread-safe. The auto_allocs global variable is split into per-thread variables and accessed separately in each thread. Thanks. Committed to CVS HEAD. * Release all prepared

[PATCHES] ecpg thead-safe memory management + cleanup

2007-09-28 Thread ITAGAKI Takahiro
Here is a patch to get memory management to thread-safe. The auto_allocs global variable is split into per-thread variables and accessed separately in each thread. This patch is including the previous cleanup patch I sent because I found pthread_once() for Win32 has a bug; it was not thread-safe.