@@ -162,7 +162,7 @@ impl<T: NetworkTransport> SharedNetworkLibOS<T> {
162162 let coroutine = Box :: pin ( self . clone ( ) . accept_coroutine ( qd) . fuse ( ) ) ;
163163 self . runtime
164164 . clone ( )
165- . insert_nonpolling_coroutine ( "ioc::network::libos::accept" , coroutine)
165+ . schedule_coroutine ( "ioc::network::libos::accept" , coroutine)
166166 } ;
167167
168168 queue. accept ( coroutine_constructor)
@@ -213,7 +213,7 @@ impl<T: NetworkTransport> SharedNetworkLibOS<T> {
213213 let coroutine = Box :: pin ( self . clone ( ) . connect_coroutine ( qd, remote) . fuse ( ) ) ;
214214 self . runtime
215215 . clone ( )
216- . insert_nonpolling_coroutine ( "ioc::network::libos::connect" , coroutine)
216+ . schedule_coroutine ( "ioc::network::libos::connect" , coroutine)
217217 } ;
218218
219219 queue. connect ( coroutine_constructor)
@@ -253,7 +253,7 @@ impl<T: NetworkTransport> SharedNetworkLibOS<T> {
253253 let coroutine = Box :: pin ( self . clone ( ) . close_coroutine ( qd) . fuse ( ) ) ;
254254 self . runtime
255255 . clone ( )
256- . insert_nonpolling_coroutine ( "ioc::network::libos::close" , coroutine)
256+ . schedule_coroutine ( "ioc::network::libos::close" , coroutine)
257257 } ;
258258
259259 queue. close ( coroutine_constructor)
@@ -322,7 +322,7 @@ impl<T: NetworkTransport> SharedNetworkLibOS<T> {
322322 let coroutine = Box :: pin ( self . clone ( ) . push_coroutine ( qd, bufs, None ) . fuse ( ) ) ;
323323 self . runtime
324324 . clone ( )
325- . insert_nonpolling_coroutine ( "ioc::network::libos::push" , coroutine)
325+ . schedule_coroutine ( "ioc::network::libos::push" , coroutine)
326326 } ;
327327
328328 queue. push ( coroutine_constructor)
@@ -370,7 +370,7 @@ impl<T: NetworkTransport> SharedNetworkLibOS<T> {
370370 let coroutine = Box :: pin ( self . clone ( ) . push_coroutine ( qd, bufs, Some ( remote) ) . fuse ( ) ) ;
371371 self . runtime
372372 . clone ( )
373- . insert_nonpolling_coroutine ( "ioc::network::libos::pushto" , coroutine)
373+ . schedule_coroutine ( "ioc::network::libos::pushto" , coroutine)
374374 } ;
375375
376376 queue. push ( coroutine_constructor)
@@ -390,7 +390,7 @@ impl<T: NetworkTransport> SharedNetworkLibOS<T> {
390390 let coroutine = Box :: pin ( self . clone ( ) . pop_coroutine ( qd, size) . fuse ( ) ) ;
391391 self . runtime
392392 . clone ( )
393- . insert_nonpolling_coroutine ( "ioc::network::libos::pop" , coroutine)
393+ . schedule_coroutine ( "ioc::network::libos::pop" , coroutine)
394394 } ;
395395
396396 queue. pop ( coroutine_constructor)
0 commit comments