Pat Hickey
f3e40e2fc4
restructure cap-std impls into their own crate
2021-01-20 19:09:15 -08:00
Pat Hickey
016ed8966a
poll now handles monotonic clocks, not system clocks
...
I initially had it backwards. It is not sensible to poll on a system
clock timeout because the system clock is not necessarily monotonic!
only a monotonic clock makes sense for a timeout.
2021-01-19 15:11:54 -08:00
Pat Hickey
7f7a0be938
wasi-c2: implement a synchronous poll_oneoff in terms of yanix
...
doesnt work on unix yet! also breaks all the rules about using the
cap-std family instead of rawfds! but this is cool and im happy with it
2021-01-14 17:43:53 -08:00
Pat Hickey
5c8efe868e
need Any on WasiFile to upcast for AsRawFd
2021-01-14 13:39:01 -08:00
Pat Hickey
e0e205f8d2
ctx builder: fix warnings, test harness
2021-01-13 11:07:06 -08:00
Pat Hickey
81065eba38
more scheduler
2021-01-12 17:42:59 -08:00
Pat Hickey
b79bdcee84
port subscriptions in from old branch
2021-01-12 15:55:25 -08:00
Pat Hickey
0e42c2e1d9
scaffold a scheduler
2021-01-12 12:07:00 -08:00