Files
XCEngine/docs/api/threading/tasksystemconfig/thread-stack-size.md
ssdfasd 0f0ab8922a docs: fix naming conventions across threading, math, memory, core, and debug modules
threading/:
- Rename 19 camelCase method files to hyphenated names
- task-system: createtaskgroup→create-task-group, etc.
- tasksystemconfig: enabletaskprofiling→enable-task-profiling, etc.
- thread: getcurrentid→get-current-id, etc.
- task: addref→add-ref, getid→get-id, etc.

math/:
- Rename underscore operator files to hyphenated
- vector3: operator_add→operator-add, etc.
- matrix4: gettranslation→get-translation, etc.
- vector4: tovector3→to-vector3, constructor_vector3→constructor-vector3
- sphere: sphere_constructor→sphere-constructor, etc.

memory/:
- Remove duplicate memorymanager/ folder (kept manager/ which was correct)

core/:
- filewriter: Consolidate ctor-default.md and ctor-file.md into constructor.md
- Rename dtor.md→destructor.md

debug/:
- filelogsink: Rename construct.md→constructor.md, ~filelogsink.md→destructor.md

All overview pages updated with new file references.
2026-03-22 23:09:29 +08:00

667 B

TaskSystemConfig::threadStackSize

uint32_t threadStackSize = 0

工作线程的栈大小(字节)。值为 0 时使用系统默认值。

类型: uint32_t

默认值: 0(使用系统默认)

当前状态: 此配置项当前未实际使用,工作线程始终使用系统默认栈大小。

示例:

TaskSystemConfig config;
config.workerThreadCount = 4;
config.threadStackSize = 1024 * 1024; // 预留配置项(当前未实现)

TaskSystemConfig defaultConfig;
defaultConfig.threadStackSize = 0; // 使用系统默认

相关文档