Commit Graph

7 Commits

Author SHA1 Message Date
4fef8a7192 libasync/executor: reduced reallocation for vector 2020-09-07 16:13:51 +08:00
4b258c19f5 libasync: improve scheduling fairness between block_on and spawned tasks
in the libasync::smoltcp::Sockets::run() case the block_on iface.poll
loop would progress just one task before. now all tasks get to run in
each iteration.
2020-08-17 00:58:12 +02:00
ab1404488c libasync: fix TcpStream, implement recv()+send() 2020-03-31 22:49:41 +02:00
8bc721826c libasync: wrap_waker() 2020-03-31 18:57:01 +02:00
48257e989c libasync: pin tasks to memory 2020-03-31 01:13:01 +02:00
ea765fc529 libasync: replace executor Mutexes with RefCells
this will not run on multi-core.
2020-03-26 20:29:36 +01:00
5b95410244 libasync: adapt from async-on-embedded/async-cortex-m 2020-03-26 01:35:05 +01:00