You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- After converting to std::future::Future which is not much work:
4
+
- Implement server.rs with a simple listen function
5
+
- Can only accept delay requests like the ones we make
6
+
- Implement a simple timer reactor using
7
+
- A thread
8
+
- Veddeque to store timers/wakers
9
+
- thread::park_timeout() / thread unpark to add new/wake up and call wake once a timer has expired
10
+
11
+
We now have a client and server running our own async runtime single threaded. How many "threads" can we achieve? More than OS threads on a sinlge thread?
0 commit comments