about summary refs log tree commit diff stats
path: root/src/libtools/threads.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [WOW64] More work on the PE wow64 build (#2518)Yang Liu2025-04-101-5/+0
| | | | | * [WOW64] More work on the PE wow64 build * added a TODO
* [WOW64] Add wow64 PE build scaffolding (#2513)Yang Liu2025-04-081-6/+6
|
* Introduced box64cpu.h for exported interpreter and dynarec functions (#2490)Yang Liu2025-04-011-2/+3
|
* Added os.h for future usage (#2488)Yang Liu2025-04-011-0/+1
|
* [ENV] Initial refactor of env variables infrastructure (#2274)Yang Liu2025-01-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ENV] Initial refactor of env variables infrastructure * Ported BOX64_DYNAREC_LOG * Ported more options * Ported BOX64_MALLOC_HACK * Ported BOX64_DYNAREC_TEST * Ported more options * Ported more options * Ported more options * Ported all options * Removed old rcfile parser * Fix * review * fix * fix * more fixes
* Creating an emu structure for a thread will use a minimal stack now ([BOX32] ↵ptitSeb2025-01-101-12/+7
| | | | too, also using MAP_32BIT attribute)
* Improved handling of stack size and addresses attribute for threads ([BOX32] ↵ptitSeb2024-12-181-29/+28
| | | | too)
* Removed another debug leftoverptitSeb2024-11-201-1/+1
|
* Removed a debug leftoverptitSeb2024-11-201-1/+1
|
* Removed a debug leftoverptitSeb2024-11-161-1/+1
|
* Added a few wrapped function and fixed some other (for Steam)ptitSeb2024-11-061-11/+17
|
* Improved clone wrapped function compatibilityptitSeb2024-10-301-1/+4
|
* [BOX32] More work on 32bits wrapped functionsptitSeb2024-10-071-1/+1
|
* [BOX32][WRAPPER] More 32bits wrapped functions, and a few fixes on threads ↵ptitSeb2024-09-231-2/+13
| | | | handling
* Fixed a typoptitSeb2024-09-121-1/+1
|
* [WRAPPER] Added handling of old pthread cond functionsptitSeb2024-09-121-0/+75
|
* [WRAPPER] Small fixes for x86_64 build when using old pthread_killptitSeb2024-09-111-0/+2
|
* [BOX32] Put back pthread_t behind hash, but ease hash range to have more ↵ptitSeb2024-09-101-0/+5
| | | | native values
* [BOX32] Fix and simplified 32bits threads handlingptitSeb2024-09-101-14/+2
|
* Fixed alignement of thread funcitons (fixed regression for #1810)ptitSeb2024-09-101-1/+0
|
* [RCFILE] Slightly changed how BOX64_ARGS behave, and added BOX64_INSERT_ARGSptitSeb2024-09-091-2/+2
|
* [BOX32] Fixes and hacks to get steamcmd shows the promptptitSeb2024-09-011-4/+4
|
* Added preliminary Box32 support (#1760)ptitSeb2024-08-261-9/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Improve the ReserveHigMemory helper function * [BOX32] Added some wrapping infrastructure * [BOX32] More wrapped 32bits lib infrastructure * [BOX32] Added callback and tls 32bits handling * [BOX32] Added more 32bits, around wrappers and elfs * [BOX32] Added the 32bits version of myalign * [BOX32] More wrapped libs and 32bits fixes and imrpovments * [BOX32] Added some 32bits tests * [BOX32] Try to enable some Box32 build and test on the CI * [BOX32] Disable Box32 testing on CI platform that use qemu * [BOX32] Another attempt to disable Box32 testing on CI platform that use qemu * [BOX32] Small fix for another attempt to disable Box32 testing on CI platform that use qemu * [BOX32] Yet another fix for another attempt to disable Box32 testing on CI platform that use qemu * [BOX32] Fixed a typo in CI script * [BOX32] Better scratch alighnment and enabled more tests * [BOX32] Added (partial) wrapped 32bits librt * [BOX32] Added mention of Box32 in README * [BOX32] Added phtread handling, and numerous fixes to 32bits handling. [ARM64_DYNAREC] Fixed access to segment with negative offset * [BOX32] Added system libs and cpp testing, plus some more fixes * [BOX32] Fix previous commit * [BOX32] Better stack adjustment for 32bits processes * [BOX32] Added getenv wrapped 32bits function and friends * [BOX32] Don't look for box86 for a Box32 build * [BOX32] Don't do 32bits cppThreads test for now on CI * [BOX32] Enabled a few more 32bits tests * [BOX32] For ld_lib_path for both CppThreads tests * [BOX32] [ANDROID] Some Fixes for Android Build * [BOX32] Still need to disable cppThread_32bits test on CI for some reason * [BOX32] [ANDROID] Don't show PreInit Array Warning (#1751) * [BOX32] [ANDROID] One More Fix for Android Build That I forgotten to … (#1752) * [BOX32] [ANDROID] One More Fix for Android Build That I forgotten to push before * [BOX32] [ANDROID] Try to Create __libc_init * [BOX32] [ANDROID] Try to disable NEEDED_LIBS for now (libdl is not wrapped) * [BOX32] Updated generated files * [BOX32] Added 32bits context functions * [BOX32] Added 32bits signal handling * [BOX32] Added some missing 32bits elfloader functions * [BOX32] Fix build on x86_64 machine * [BOX32] Better fix for x86_64 build * [BOX32] Actually added missing libs, and re-enabled cppThreads_32bits test * [BOX32] Added wrapped 32bits libdl * [BOX32] Try to re-enabled Box32 test on CI for ARM64 builds * [BOX32] fine-tuning Box32 test on CI for ARM64 builds * [BOX32] More fine-tuning to Box32 test on CI for ARM64 builds * [BOX32] Enabled Box32 test on CI for LA64 and RV64 builds too * [BOX32] re-Disabled Box32 test on CI for LA64 and RV64 builds, not working for now * [BOX32] Temporarily disabled cppThreads_32bits test on CI --------- Co-authored-by: KreitinnSoftware <pablopro5051@gmail.com> Co-authored-by: KreitinnSoftware <80591934+KreitinnSoftware@users.noreply.github.com>
* Wrapped pthread_cond_signal with aligned cond like others (#1608)Yang Liu2024-06-211-0/+6
|
* Fixed my_prepare_thread in dynarec build (#1474)Yang Liu2024-04-271-2/+4
|
* Fixed a few warning here and there...ptitSeb2024-04-131-3/+3
|
* [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
|