mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-10-13 12:29:41 -07:00
reworked thread pool to share workers via semaphore
This commit is contained in:
1 parent
85ea141b83
commit
61307aefbc
5 files changed
+53
-92
No files matched your search
@@ -148,7 +148,6 @@ typedef enum
|
||||
LNK_CmdSwitch_Rad_PdbHashTypeNameLength,
|
||||
LNK_CmdSwitch_Rad_SectVirtOff,
|
||||
LNK_CmdSwitch_Rad_SharedThreadPool,
|
||||
LNK_CmdSwitch_Rad_SharedThreadPoolMutexName,
|
||||
LNK_CmdSwitch_Rad_SuppressError,
|
||||
LNK_CmdSwitch_Rad_SymbolTableCapDefined,
|
||||
LNK_CmdSwitch_Rad_SymbolTableCapInternal,
|
||||
@@ -286,6 +285,8 @@ typedef enum
|
||||
# error
|
||||
#endif
|
||||
|
||||
#define LNK_DEFAULT_THREAD_POOL_NAME "RADLINK_THREAD_POOL"
|
||||
|
||||
typedef struct LNK_Config
|
||||
{
|
||||
LNK_ConfigFlags flags;
|
||||
@@ -312,8 +313,7 @@ typedef struct LNK_Config
|
||||
U64 pdb_page_size;
|
||||
U64 worker_count;
|
||||
U64 idle_worker_count;
|
||||
LNK_SwitchState shared_thread_pool;
|
||||
String8 shared_thread_pool_mutex_name;
|
||||
String8 shared_thread_pool_name;
|
||||
U64 *function_pad_min;
|
||||
U64 *manifest_resource_id;
|
||||
B32 no_default_libs;
|
||||
|
||||
Reference in new issue
Block a user