diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-06-06 09:55:14 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-06-06 09:55:14 +0200 |
| commit | debc7284b3eb4d0387654b24d03f31667c0ab2ec (patch) | |
| tree | ff01cca1acfc73b0726be1cad20174cfb394fdea /src | |
| parent | 60f5dfabd8e36c0d5d511af1deb3547bfb3a4901 (diff) | |
| download | box64-debc7284b3eb4d0387654b24d03f31667c0ab2ec.tar.gz box64-debc7284b3eb4d0387654b24d03f31667c0ab2ec.zip | |
Fixed regression on pthread_mutex_t
Diffstat (limited to 'src')
| -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; |