Skip to content

feat(logging): add dedicated executor controls - #98

Merged
LimiNode merged 1 commit into
mainfrom
feat/dedicated-executor-api
May 18, 2026
Merged

feat(logging): add dedicated executor controls#98
LimiNode merged 1 commit into
mainfrom
feat/dedicated-executor-api

Conversation

@LimiNode

@LimiNode LimiNode commented May 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • Expose use_dedicated_executor through config-first, explicit, and short dedicated registration macros without breaking existing LOGIT_ADD_* macros.
  • Add dedicated executor constructors for built-in async loggers and improve dedicated executor lifecycle/shutdown behavior.
  • Add cooperative single-threaded Emscripten SingleThreadExecutor queueing and wakeup fixes for blocked native producers.

Tests

  • cmake -S . -B build-codex-pr-clean -G "MinGW Makefiles" -DLOGIT_CPP_BUILD_TESTS=ON
  • cmake --build build-codex-pr-clean --target dedicated_executor_macro_api_test console_logger_dedicated_config_test dedicated_executor_shutdown_test single_thread_executor_test windows_debug_macro_compile_test per_logger_isolation_test per_logger_mixed_mode_test file_logger_test raw_file_logger_test file_logger_rotation_test
  • ctest --test-dir build-codex-pr-clean -R "dedicated_executor_macro_api_test|console_logger_dedicated_config_test|dedicated_executor_shutdown_test|single_thread_executor_test|windows_debug_macro_compile_test|per_logger_isolation_test|per_logger_mixed_mode_test|file_logger_test|raw_file_logger_test|file_logger_rotation_test" --output-on-failure
  • GitHub Actions CI #306: passed

@LimiNode
LimiNode force-pushed the feat/dedicated-executor-api branch from dea5caf to 980a45c Compare May 18, 2026 19:14
Expose config-first, explicit, and dedicated registration macros for built-in async loggers while preserving the existing macro API.

Add dedicated executor lifecycle handling, cooperative single-threaded Emscripten queueing, wakeup fixes for blocked producers, and coverage for shutdown, macro registration, and C++11 Windows debug construction.
@LimiNode
LimiNode force-pushed the feat/dedicated-executor-api branch from 980a45c to 543da23 Compare May 18, 2026 19:20
@LimiNode
LimiNode merged commit 094e3fd into main May 18, 2026
12 checks passed
@LimiNode
LimiNode deleted the feat/dedicated-executor-api branch May 21, 2026 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant