example-greenthreads
example-greenthreads copied to clipboard
Repository accompanying article and gibook
fixbug
- The asm code `call switch` doesn't work in macOS, it should be `call _switch` - Add rust-toochain
According to the x86-64 System V ABI, the **x87 control word** and the **SSE2 control and status word** are also callee-saved, yet the `switch` function doesn't save and restore them....
Would the caller-saved registers not be destroyed after calling t_yield()?
As I followed along the book I got compiler warnings about `llvm_asm!()` and the use of naked functions. It says the warnings will become errors eventually due to deprecation. It...
While it will get very detailed pretty quickly I found this explanation of naked functions to be a pretty good starting point if I were to add additional details in...
More detailed modifications are recorded in `CHANGELOG.md`. My English may be poor, so if you are confused with my explanation, just ask me directly.
Feels like we are close to use rust standard future and even using the async await syntax. Do you plan to do some further work on this for your example?...