On 2014-01-06 16:45, Felix Abecassis <felix.abecassis at gmail.com> wrote:
> What about using TLS for the static buffer? (i.e. __thread)
Not supported by Android's runtime. See 
https://groups.google.com/forum/#!topic/android-ndk/T2DQIBRkt_Q
Regards,
         Edward Wang