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
Add a type of task that is not a green thread. This is a task that would run on the thread's stack and would not do user-space context switching. This would allow things like unwinding and TLS to work without green threads.
To make this work, we just build a task struct, put it in TLS, and that is it? I guess we have a ThreadTask enum in the task_type field. The "start" function would be a bit different, and we could leave out the Coroutine.
The hard part here might be refactoring Task to permit three whole task types. With only two that share almost every field things are pretty easy, but with three more fields should end up inside TaskType which means more syntactically kludgey accessor functions.
Replace some more paths with diagnostic items
cc rust-lang#5393
Replaces the macro & mem paths, and catches a couple others that were unused
changelog: none
Add a type of task that is not a green thread. This is a task that would run on the thread's stack and would not do user-space context switching. This would allow things like unwinding and TLS to work without green threads.
cc #6855
cc #7282
The text was updated successfully, but these errors were encountered: