Module thread_manager

Module thread_manager 

Source
Expand description

Robust GUI thread management system

This module provides cross-platform GUI thread management that properly handles platform-specific requirements (especially macOS EventLoop main thread requirement) while maintaining high performance and reliability.

Structs§

GuiThreadManager
GUI thread manager with robust error handling and health monitoring
MainThreadDetector
Main thread detection and validation

Enums§

GuiErrorCode
Error codes for GUI operations
GuiOperationResult
Result of GUI operations with comprehensive error information
GuiThreadMessage
Thread-safe message passing system for GUI operations

Functions§

get_gui_manager
Get a reference to the global GUI thread manager
health_check_global
Perform a health check on the global GUI manager
initialize_gui_manager
Initialize the global GUI thread manager
is_main_thread
Check if the current thread is the main thread
register_main_thread
Register the current thread as the main thread
show_plot_global
Show a plot using the global GUI manager