summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authortaitep <taitep@taitep.se>2026-01-02 12:44:50 +0100
committertaitep <taitep@taitep.se>2026-01-02 12:44:50 +0100
commit21fb6cbc8baab44c57c004e9f78904630044499d (patch)
tree283c913dd12cddc7e5ffffd938cdbd229692d51b /src/main.rs
parentbbc9e0b9ff62c31b6f8da0daff90a883957181f7 (diff)
Switch from std::mpsc channels to crossbeam
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 4e02745..a9b8672 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,4 +1,4 @@
-// Copyright (c) 2025 taitep
+// Copyright (c) 2025-2026 taitep
// SPDX-License-Identifier: BSD-2-Clause
//
// This file is part of TRVE (https://gitea.taitep.se/taitep/trve)
@@ -48,7 +48,7 @@ fn main() -> Result<()> {
mmio_root,
};
- let (cmd_sender, cmd_reciever) = std::sync::mpsc::channel();
+ let (cmd_sender, cmd_reciever) = crossbeam::channel::bounded(16);
gdb::run_stub(cmd_sender.clone());