disable async for radlink

This commit is contained in:
Nikita Smith
2026-02-13 17:33:18 -08:00
parent 0315cce2ea
commit 519bc154ec
2 changed files with 5 additions and 8 deletions
+4
View File
@@ -94,6 +94,7 @@ main_thread_base_entry_point(int arguments_count, char **arguments)
rd_init(&cmdline); rd_init(&cmdline);
#endif #endif
#if !NO_ASYNC
//- rjf: launch async threads //- rjf: launch async threads
Thread *async_threads = 0; Thread *async_threads = 0;
U64 lane_broadcast_val = 0; U64 lane_broadcast_val = 0;
@@ -124,10 +125,12 @@ main_thread_base_entry_point(int arguments_count, char **arguments)
async_threads[idx] = thread_launch(async_thread_entry_point, &lane_ctxs[idx]); async_threads[idx] = thread_launch(async_thread_entry_point, &lane_ctxs[idx]);
} }
} }
#endif
//- rjf: call into entry point //- rjf: call into entry point
entry_point(&cmdline); entry_point(&cmdline);
#if !NO_ASYNC
//- rjf: join async threads //- rjf: join async threads
ins_atomic_u32_inc_eval(&global_async_exit); ins_atomic_u32_inc_eval(&global_async_exit);
cond_var_broadcast(async_tick_start_cond_var); cond_var_broadcast(async_tick_start_cond_var);
@@ -135,6 +138,7 @@ main_thread_base_entry_point(int arguments_count, char **arguments)
{ {
thread_join(async_threads[idx], max_U64); thread_join(async_threads[idx], max_U64);
} }
#endif
//- rjf: end captures //- rjf: end captures
if(capture) if(capture)
+1 -8
View File
@@ -6,20 +6,13 @@
#define BUILD_CONSOLE_INTERFACE 1 #define BUILD_CONSOLE_INTERFACE 1
#define BUILD_TITLE "Epic Games Tools (R) RAD PE/COFF Linker" #define BUILD_TITLE "Epic Games Tools (R) RAD PE/COFF Linker"
// --- Arena -------------------------------------------------------------------
#define ARENA_FREE_LIST 1 #define ARENA_FREE_LIST 1
#define NO_ASYNC 1
// --- Third Party ------------------------------------------------------------- // --- Third Party -------------------------------------------------------------
#include "base_ext/base_blake3.h" #include "base_ext/base_blake3.h"
#include "base_ext/base_blake3.c" #include "base_ext/base_blake3.c"
#define XXH_INLINE_ALL
#define XXH_IMPLEMENTATION
#define XXH_STATIC_LINKING_ONLY
#include "third_party/xxHash/xxhash.c"
#include "third_party/xxHash/xxhash.h"
#include "third_party/radsort/radsort.h"
// --- Code Base --------------------------------------------------------------- // --- Code Base ---------------------------------------------------------------