about summary refs log tree commit diff stats
path: root/src/libtools/threads.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [LIBTOOL] Fixed my_pthread_attr_init (#1274)Yang Liu2024-02-211-3/+4
|
* Wrapped libraries refactor (#1257)rajdakin2024-02-101-3/+3
| | | | | | | | | | | * [MISC] Removed a warning caused by tab/space mismatch * [WRAPPED] Factored out `getMy` and `freeMy` calls * [WRAPPED] Small cleanup of the init header * [WRAPPED] Factored out `SETALT` * [WRAPPED] Factored out needed libs
* Simplified (and improved?) handling of phtread_attr_tptitSeb2024-02-091-67/+86
|
* Added a new option BOX64_MMAP32 to use 32bits mapping on external MMAP (help ↵ptitSeb2024-01-231-6/+9
| | | | Snapdragon device running Vulkan with Wine/Wow64, active by default on SD845/SD888/SD8G2 profiles)
* Make sure Stack is aligned properly... (should help #1187 and ~1188)ptitSeb2024-01-221-0/+7
|
* Fixes (#1207)rajdakin2024-01-181-1/+1
| | | | | | | | | | | * Fixed signed/unsigned issues and other cosmetics * [WRAPPERS] Fixed missing `return`s in `my_` functions * [EMU] More fixes * [STEAM] Forgot one cleanup * [WRAPPER] Fixed wrappedpulse callback signatures
* [ANDROID] Fix Clang Compiling (#1094)Lily2023-11-281-0/+8
|
* Some more rollback on tls destructor (more work needed on threads cleanup ↵ptitSeb2023-10-171-3/+2
| | | | handling)
* Rollback to previous way of handling tls key destructorsptitSeb2023-10-161-44/+28
|
* Various changes on pthread cancel and tls destructor, should be easier to ↵ptitSeb2023-10-131-119/+101
| | | | maintain
* [ANDROID] And again another attempt to fix the buildptitSeb2023-09-021-0/+12
|
* [ANDROID] Try to create an Android build, porting box86 Android buildptitSeb2023-09-021-0/+9
|
* Merge pull request #896 from josch/exeptitSeb2023-07-211-0/+0
|\ | | | | remove executable bits
| * remove executable bitsJohannes Schauer Marin Rodrigues2023-07-211-0/+0
| | | | | | | | Closes: #895
* | Removed useless box64context_t parameter to RunFunction and friendptitSeb2023-07-091-2/+2
| |
* | Simplyfied internal jmpbuf handlingptitSeb2023-07-081-29/+0
| |
* | A few cosmetic fixes (#858)Alexandre Julliard2023-06-241-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [DYNAREC] Don't include pthread.h in C files. It's already included from box64context.h. Since there's no pthread.h on Win32, including it only once avoids having to add ifdefs everywhere. * [DYNAREC] Remove some duplicate definitions of the GETG helper macros. * Declare void functions with an explicit void. To avoid 'function declaration is not a prototype' warnings when using -Wstrict-prototypes. * Avoid including bridge_private.h in files that don't need it. * Avoid defining ZYDIS_RUNTIME_ADDRESS_NONE. It's not used, and conflicts with the original Zydis headers.
* | [32BITS][DYNAREC] Preparing Dynarec to handle 32bits codeptitSeb2023-06-221-2/+2
| |
* | Some small changes to thread and fork and cloning x64emu_t structptitSeb2023-05-081-3/+3
| |
* | [DYNAREC] Disabled custom mutex for nowptitSeb2023-05-071-2/+0
|/
* fix some spelling mistakes (#640)josch2023-03-261-4/+4
|
* Added some wrapped functions in pthreadptitSeb2023-03-251-0/+16
|
* Cleanup mutex wrappingptitSeb2023-03-121-35/+0
|
* Simply handling of pthread_mutex_t structure (for #522)ptitSeb2023-02-211-184/+28
|
* Various improvment to backtrace, protection tracking, and SHOWBT. Also ↵ptitSeb2023-02-171-3/+6
| | | | SIGABRT is tracked like SIGSEGV, SIGILL and SIGBUS
* Small improvment for emu thread trackingptitSeb2023-02-121-13/+5
|
* [DYNAREC] Use custom mutex, improved Signal while FillBlocks64 and atomic ↵ptitSeb2023-02-121-16/+22
| | | | handling
* Changes for Alpine (#508)RainbowC02023-02-051-1/+1
| | | | | | | | | | | * Update CMakeLists.txt Replaced bash with sh so that it can be compiled on Alpine * Update elfloader.c * Update threads.c Replaced __clock_id with clock_id to adapted to Alpine.
* Reset Segment cache when changing TLS addressptitSeb2022-12-171-0/+1
|
* Use DynaCall instead of EmuCall for pthread_once callback (speedup some init ↵ptitSeb2022-12-031-1/+1
| | | | code=
* Remove dynablocklist (#438)ptitSeb2022-10-311-4/+2
| | | | | | * [DYNAREC] Removed dynablock sons handling * [DYNAREC] Removed dynablocklist, and attached dynablocks to the jumptable * [DYNAREC] Changed handling of HotPage (part of Protection now) * [DYNAREC] Fixed some performance issues (especially with heavily threaded programs)
* Optimized custom pthread_onceptitSeb2022-10-291-0/+3
|
* Small imrpovment to custom phtread_onceptitSeb2022-10-291-2/+1
|
* Fixed non-dynarec buildptitSeb2022-10-261-2/+2
|
* Fix non-dynarec buildptitSeb2022-10-261-2/+2
|
* Made a custom implementation of pthread_onceptitSeb2022-10-261-15/+15
|
* Small fixes with unaligned pthread_cond_tptitSeb2022-10-241-3/+3
|
* Forgot a bunch of other box_ malloc/realloc/calloc/free useptitSeb2022-10-231-1/+1
|
* Improved thread_self stack size detectionptitSeb2022-09-131-1/+18
|
* Added special case for pthread_kill because behaviour changed with glibc 2.34ptitSeb2022-09-101-0/+27
|
* All box internal memory alloc use __libc_ internal one (except on Android, ↵ptitSeb2022-08-061-17/+17
| | | | using libc one gather from dlsym)
* Quick hack to align pthread_cond_t if needed (for #362)ptitSeb2022-07-271-4/+31
|
* Some work around chromium / libcef / electron / nw (still not ok)ptitSeb2022-07-231-18/+60
|
* Various improvement and some workaround to support musl binary (for #324)ptitSeb2022-07-091-0/+10
|
* Fixed a warningptitSeb2022-07-041-1/+1
|
* Added a workaround if pthread_cond_clockwait is not supported (for #342)ptitSeb2022-07-041-1/+6
|
* Added a workaround if pthread_cond_clockwait is not supported (for #342)ptitSeb2022-07-041-0/+3
|
* Added wrapped pthread_cond_clockwait (for #303)ptitSeb2022-07-031-0/+5
|
* Make sure stack is correctly alligned on new thred (fixed SOR4 starting issues)ptitSeb2022-02-191-1/+3
|
* Fixed the backtrace wrapper (uses eh_frame information only)rajdakin2022-02-141-2/+3
|