diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-04-11 11:05:36 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-04-11 11:05:36 +0200 |
| commit | 3b9feeed120af45a2dc346592b328eb0b2e14911 (patch) | |
| tree | 805803a23c6e2e91fc002b8b8f1b2d9f73a1e298 /src/include/box64context.h | |
| parent | 6d3ca2df80b6df2e9aabb73210f9c09fd0df97a1 (diff) | |
| download | box64-3b9feeed120af45a2dc346592b328eb0b2e14911.tar.gz box64-3b9feeed120af45a2dc346592b328eb0b2e14911.zip | |
Improvement in internal mutex handling on signal, and [DYNAREC] multitasking changes to the JmpTable
Diffstat (limited to 'src/include/box64context.h')
| -rwxr-xr-x | src/include/box64context.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/box64context.h b/src/include/box64context.h index ffcacc36..4d48c816 100755 --- a/src/include/box64context.h +++ b/src/include/box64context.h @@ -200,4 +200,9 @@ int AddTLSPartition(box64context_t* context, int tlssize); void thread_set_emu(x64emu_t* emu); x64emu_t* thread_get_emu(); +// unlock mutex that are locked by current thread (for signal handling). Return a mask of unlock mutex +int unlockMutex(); +// relock the muxtex that were unlocked +void relockMutex(int locks); + #endif //__BOX64CONTEXT_H_ |