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
This commit is contained in:
Pat Hickey
2021-01-14 17:43:53 -08:00
parent b84c4d7488
commit 7f7a0be938
8 changed files with 172 additions and 60 deletions

View File

@@ -62,7 +62,7 @@ impl Table {
Err(Error::Exist) // Does exist, but borrowed
}
} else {
Err(Error::Exist) // Does not exist
Err(Error::Badf) // Does not exist
}
}