|
Database System 0.1.0
Advanced C++20 Database System with Multi-Backend Support
|
High-performance async_executor with thread_system integration. More...
#include <iostream>#include <chrono>#include <vector>#include "database/async/async_operations.h"
Go to the source code of this file.
Functions | |
| void | demonstrate_basic_usage () |
| void | demonstrate_high_throughput () |
| void | demonstrate_error_handling () |
| void | demonstrate_shutdown () |
| void | compare_with_legacy () |
| int | main () |
High-performance async_executor with thread_system integration.
Definition in file async_executor_demo.cpp.
| void compare_with_legacy | ( | ) |
Definition at line 158 of file async_executor_demo.cpp.
References database::async::async_executor::submit().
Referenced by main().


| void demonstrate_basic_usage | ( | ) |
Definition at line 29 of file async_executor_demo.cpp.
References database::async::async_executor::is_using_thread_system(), database::async::async_executor::submit(), and database::async::async_executor::thread_count().
Referenced by main().


| void demonstrate_error_handling | ( | ) |
Definition at line 107 of file async_executor_demo.cpp.
References database::async::async_executor::submit().
Referenced by main().


| void demonstrate_high_throughput | ( | ) |
Definition at line 67 of file async_executor_demo.cpp.
References database::async::async_executor::is_using_thread_system(), database::async::async_executor::submit(), and database::async::async_executor::wait_for_completion().
Referenced by main().


| void demonstrate_shutdown | ( | ) |
Definition at line 128 of file async_executor_demo.cpp.
References database::async::async_executor::pending_tasks(), database::async::async_executor::shutdown(), and database::async::async_executor::submit().
Referenced by main().


| int main | ( | ) |
Definition at line 208 of file async_executor_demo.cpp.
References compare_with_legacy(), demonstrate_basic_usage(), demonstrate_error_handling(), demonstrate_high_throughput(), and demonstrate_shutdown().
