-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
I have push async branch, the duty of this branch is to unified the stackful and stackless task in abstraction. To finish the whole work, we should create a real "async os". Stackful task is same to original task, needs kernel stack ,execution context and enable preempt; while stackless task don't need the explicitly execution context, kernel stack and disable kernel preempt, the executor self containing the whole execution condition.
Two major work I think,
- should we redesign some task api, suck as park, unpark
- remove block_on and spread 'async'
I am not sure my implementation here is follow the original purpose, please check and tell me.
Metadata
Metadata
Assignees
Labels
No labels