mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-14 17:28:07 +00:00
disable async for radlink
This commit is contained in:
@@ -94,6 +94,7 @@ main_thread_base_entry_point(int arguments_count, char **arguments)
|
||||
rd_init(&cmdline);
|
||||
#endif
|
||||
|
||||
#if !NO_ASYNC
|
||||
//- rjf: launch async threads
|
||||
Thread *async_threads = 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]);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
//- rjf: call into entry point
|
||||
entry_point(&cmdline);
|
||||
|
||||
#if !NO_ASYNC
|
||||
//- rjf: join async threads
|
||||
ins_atomic_u32_inc_eval(&global_async_exit);
|
||||
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);
|
||||
}
|
||||
#endif
|
||||
|
||||
//- rjf: end captures
|
||||
if(capture)
|
||||
|
||||
+1
-8
@@ -6,20 +6,13 @@
|
||||
#define BUILD_CONSOLE_INTERFACE 1
|
||||
#define BUILD_TITLE "Epic Games Tools (R) RAD PE/COFF Linker"
|
||||
|
||||
// --- Arena -------------------------------------------------------------------
|
||||
|
||||
#define ARENA_FREE_LIST 1
|
||||
#define NO_ASYNC 1
|
||||
|
||||
// --- Third Party -------------------------------------------------------------
|
||||
|
||||
#include "base_ext/base_blake3.h"
|
||||
#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 ---------------------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user