Re: [bug #43404] gl_locale_name_default() thread issues on OS X

2014-10-14 Thread Pádraig Brady
On 10/14/2014 06:53 AM, Daiki Ueno wrote: > Pádraig Brady writes: > >> There are many consequences to having multiple threads, >> so it's worth avoiding/isolating that where possible. >> >> You mentioned it would be conditionalized on pthread_is_threaded_np >> for performance I suppose, as thread

Re: [bug #43404] gl_locale_name_default() thread issues on OS X

2014-10-14 Thread Daiki Ueno
Pádraig Brady writes: >> Thanks for the comment. Here is a tentative patch based on the >> PostgreSQL patches. Perhaps it might require a copyright assignment >> from the original author (Cc'ed). > > Is AC_CHECK_FUNCS sufficient to find pthread_is_threaded_np()? > I.E. is LIB_PTHREAD required t