diff options
Diffstat (limited to 'src/libtools')
| -rwxr-xr-x | src/libtools/threads.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libtools/threads.c b/src/libtools/threads.c index d92472a7..83de0da9 100755 --- a/src/libtools/threads.c +++ b/src/libtools/threads.c @@ -776,6 +776,7 @@ pthread_mutex_t* getAlignedMutexWithInit(pthread_mutex_t* m, int init) ((int*)ret)[3+__PTHREAD_MUTEX_HAVE_PREV] = kind; // inject in new one (i.e. "init" it) } } + am->self = am; am->sign = SIGNMTX; am->m = ret; return ret; |