Filip Tibell
|
04a47babdd
|
Implement traceback helper to use in scheduler
|
2023-02-16 16:19:58 +01:00 |
|
Filip Tibell
|
b1e08bf813
|
Move scheduler fns into traits, improve error handling for scheduler not existing
|
2023-02-15 13:22:13 +01:00 |
|
Filip Tibell
|
fa14e4a02b
|
Refactor new task scheduler
* Use cell & refcell, we don't need mutexes
* Split out into several modules
|
2023-02-15 12:18:25 +01:00 |
|
Filip Tibell
|
8d44e1e827
|
Support built-in coroutine global in new task scheduler
|
2023-02-14 23:17:03 +01:00 |
|
Filip Tibell
|
3990b8e064
|
Properly handle blocking tasks spawned during async tasks in new scheduler
|
2023-02-14 21:36:04 +01:00 |
|
Filip Tibell
|
6f1ae83fbe
|
Make stdio.prompt async to let background tasks run
|
2023-02-14 21:14:50 +01:00 |
|
Filip Tibell
|
d078968d08
|
Clean up net global implementation
|
2023-02-14 19:39:28 +01:00 |
|
Filip Tibell
|
f98400f753
|
Improve error for net serve failing to bind
|
2023-02-14 19:05:35 +01:00 |
|
Filip Tibell
|
a9261f889f
|
Do some debugging, fix scheduler not always exiting with the correct code/error
|
2023-02-14 16:39:15 +01:00 |
|
Filip Tibell
|
b5f6e6da98
|
Implement async background tasks for scheduler
|
2023-02-14 15:27:10 +01:00 |
|
Filip Tibell
|
d2ff0783a5
|
Implement bulk of async APIs
|
2023-02-14 13:17:07 +01:00 |
|
Filip Tibell
|
b1b69c7d94
|
Properly handle tasks that switch context in new scheduler
|
2023-02-13 23:36:30 +01:00 |
|
Filip Tibell
|
879d6723a3
|
Document some more scheduler stuff
|
2023-02-13 21:47:18 +01:00 |
|
Filip Tibell
|
e3e56301ce
|
Elide lifetimes where possible
|
2023-02-13 21:31:19 +01:00 |
|
Filip Tibell
|
805b9d89ad
|
Fully implement and document the task scheduler
|
2023-02-13 21:29:05 +01:00 |
|
Filip Tibell
|
fc5de3c8d5
|
Initial implementation of proper task scheduler, no async yet
|
2023-02-13 15:28:18 +01:00 |
|
Filip Tibell
|
5157e60379
|
Improve websocket examples
|
2023-02-12 18:24:55 +01:00 |
|
Filip Tibell
|
091dc17337
|
Implement web socket client
|
2023-02-11 23:29:17 +01:00 |
|
Filip Tibell
|
6c97003571
|
Implement web sockets for net serve
|
2023-02-11 22:40:14 +01:00 |
|