raster pushed a commit to branch efl-1.17.

http://git.enlightenment.org/core/efl.git/commit/?id=12c061e336d96b1bb03a54abc4e6d2f3e17034bf

commit 12c061e336d96b1bb03a54abc4e6d2f3e17034bf
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Thu Jul 14 08:32:16 2016 +0900

    eina thread create - use pthread_sigmask as this can be called from thread
    
    @fix
---
 src/lib/eina/eina_thread.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/eina/eina_thread.c b/src/lib/eina/eina_thread.c
index eb1a13f..deabf01 100644
--- a/src/lib/eina/eina_thread.c
+++ b/src/lib/eina/eina_thread.c
@@ -94,11 +94,11 @@ _eina_thread_create(Eina_Thread *t, int affinity, void 
*(*func)(void *data), voi
 # ifdef SIGPWR
    sigaddset(&newset, SIGPWR);
 # endif
-   sigprocmask(SIG_BLOCK, &newset, &oldset);
+   pthread_sigmask(SIG_BLOCK, &newset, &oldset);
 #endif
    err = pthread_create((pthread_t *)t, &attr, func, data);
 #ifndef _WIN32
-   sigprocmask(SIG_SETMASK, &oldset, NULL);
+   pthread_sigmask(SIG_SETMASK, &oldset, NULL);
 #endif
    pthread_attr_destroy(&attr);
 

-- 


Reply via email to