Skip to main content

qubit_dcl/double_checked/
mod.rs

1/*******************************************************************************
2 *
3 *    Copyright (c) 2025 - 2026 Haixing Hu.
4 *
5 *    SPDX-License-Identifier: Apache-2.0
6 *
7 *    Licensed under the Apache License, Version 2.0.
8 *
9 ******************************************************************************/
10//! # Double-Checked Lock Executor
11//!
12//! Provides a double-checked lock executor for executing tasks with condition
13//! checking and prepare lifecycle support.
14//!
15
16mod callback_error;
17mod double_checked_lock;
18mod double_checked_lock_builder;
19mod double_checked_lock_executor;
20mod double_checked_lock_ready_builder;
21mod execution_context;
22mod execution_logger;
23mod execution_result;
24mod executor_builder;
25mod executor_error;
26mod executor_lock_builder;
27mod executor_ready_builder;
28
29pub use callback_error::CallbackError;
30pub use double_checked_lock::DoubleCheckedLock;
31pub use double_checked_lock_builder::DoubleCheckedLockBuilder;
32pub use double_checked_lock_executor::DoubleCheckedLockExecutor;
33pub use double_checked_lock_ready_builder::DoubleCheckedLockReadyBuilder;
34pub use execution_context::ExecutionContext;
35pub use execution_logger::ExecutionLogger;
36pub use execution_result::ExecutionResult;
37pub use executor_builder::ExecutorBuilder;
38pub use executor_error::ExecutorError;
39pub use executor_lock_builder::ExecutorLockBuilder;
40pub use executor_ready_builder::ExecutorReadyBuilder;