[Mesa-dev] [PATCHv2 03/13] glsl: initialize locale_t with a static object

2014-07-09 Thread Chia-I Wu
The compiler may be used by multiple contexts simultaneously and needs to be thread-safe. Signed-off-by: Chia-I Wu --- src/glsl/strtod.cpp | 29 +++-- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/src/glsl/strtod.cpp b/src/glsl/strtod.cpp index 5d4346b..

Re: [Mesa-dev] [PATCHv2 03/13] glsl: initialize locale_t with a static object

2014-08-13 Thread Ian Romanick
On 07/09/2014 12:47 AM, Chia-I Wu wrote: > The compiler may be used by multiple contexts simultaneously and needs to be > thread-safe. > > Signed-off-by: Chia-I Wu > --- > src/glsl/strtod.cpp | 29 +++-- > 1 file changed, 15 insertions(+), 14 deletions(-) > > diff --git

Re: [Mesa-dev] [PATCHv2 03/13] glsl: initialize locale_t with a static object

2014-08-19 Thread Chia-I Wu
On Thu, Aug 14, 2014 at 3:00 AM, Ian Romanick wrote: > On 07/09/2014 12:47 AM, Chia-I Wu wrote: >> The compiler may be used by multiple contexts simultaneously and needs to be >> thread-safe. >> >> Signed-off-by: Chia-I Wu >> --- >> src/glsl/strtod.cpp | 29 +++-- >> 1 fi