Re: [waffle] [PATCH 2/3] wcore: rework non-compatible mutex initialization

2015-03-20 Thread Emil Velikov
On 20 March 2015 at 11:46, Jose Fonseca wrote: > On 19/03/15 22:26, Emil Velikov wrote: >> >> C11 does not specify a static initializer, based on the idea that the >> a mutex will be platform and/or implementation dependent. As such the >> alternative solution is to initialize the mutex with mtx_i

Re: [waffle] [PATCH 2/3] wcore: rework non-compatible mutex initialization

2015-03-20 Thread Jose Fonseca
On 19/03/15 22:26, Emil Velikov wrote: C11 does not specify a static initializer, based on the idea that the a mutex will be platform and/or implementation dependent. As such the alternative solution is to initialize the mutex with mtx_init(). This will allow us to remove the transition hack, and

[waffle] [PATCH 2/3] wcore: rework non-compatible mutex initialization

2015-03-19 Thread Emil Velikov
C11 does not specify a static initializer, based on the idea that the a mutex will be platform and/or implementation dependent. As such the alternative solution is to initialize the mutex with mtx_init(). This will allow us to remove the transition hack, and in due time move to the system's C11 thr