Skip to content

Commit 10149e9

Browse files
committed
MAX_TASK_WAITER_CHAIN_DEPTH comment
1 parent 35fc6c6 commit 10149e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/_remote_debugging/_remote_debugging.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ typedef enum _WIN32_THREADSTATE {
148148
#define MAX_LONG_DIGITS 64 /* Allows values up to ~2^1920 */
149149
#define MAX_SET_TABLE_SIZE (1 << 20) /* 1 million entries max for set iteration */
150150
#define MAX_FRAME_CHAIN_DEPTH (1024 + 512) /* Iteration bound for frame chain walks */
151-
#define MAX_TASK_WAITER_CHAIN_DEPTH 256
151+
#define MAX_TASK_WAITER_CHAIN_DEPTH 256 /* Task waiter walk recursion cap: 256 * SIZEOF_TASK_OBJ ~= 1 MiB */
152152

153153
#ifndef MAX
154154
#define MAX(a, b) ((a) > (b) ? (a) : (b))

0 commit comments

Comments
 (0)