On 03/02/2014 11:50 AM, Paul Tan wrote:
> In src/unix/signal.c:
>
>> @@ -43,6 +43,19 @@
>>  static void uv__signal_stop(uv_signal_t* handle);
>>
>>
>> +#ifdef __ANDROID__
>
> Would redefining pthread_sigmask in pthread-fixes.h be okay?
>

Maybe you could first try to use pthread_sigmask and if it returns 
EINVAL switch to sigprocmask? Also, remember that with a static variable 
for next calls to pthread_sigmask.

-- 
Saúl Ibarra Corretgé
bettercallsaghul.com