From 50262b3f0cc4098daef856c1ff4ea812a41d1c55 Mon Sep 17 00:00:00 2001 From: mwojcik Date: Wed, 6 Oct 2021 07:59:55 +0200 Subject: [PATCH] runtime: link_thread -> link_task --- src/runtime/src/rtio_mgt.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/runtime/src/rtio_mgt.rs b/src/runtime/src/rtio_mgt.rs index 7fe4732d..dd39f3aa 100644 --- a/src/runtime/src/rtio_mgt.rs +++ b/src/runtime/src/rtio_mgt.rs @@ -24,7 +24,7 @@ pub mod drtio { let up_destinations = up_destinations.clone(); task::spawn(async move { let routing_table = routing_table.borrow(); - link_thread(&aux_mutex, &routing_table, &up_destinations, timer).await; + link_task(&aux_mutex, &routing_table, &up_destinations, timer).await; }); } @@ -245,7 +245,7 @@ pub mod drtio { } } - pub async fn link_thread(aux_mutex: &Rc>, + pub async fn link_task(aux_mutex: &Rc>, routing_table: &drtio_routing::RoutingTable, up_destinations: &Rc>, timer: GlobalTimer) {