Skip to content

Improve ergonomics#17

Closed
eivindbergem wants to merge 8 commits intomasterfrom
ergonomics
Closed

Improve ergonomics#17
eivindbergem wants to merge 8 commits intomasterfrom
ergonomics

Conversation

@eivindbergem
Copy link
Copy Markdown
Collaborator

No description provided.

- Added `TaskHandle` as a non-generic reference to `Task`.

- Use array to initialize executor with tasks, avoiding macro.

- Wrap `Executor` and `Scheduler` in handlers requiring static
  references. This way we don't need unsafe when calling from the
  handler.
- Removed async timer task to avoid having N + 1 tasks.

- Moved wake logic into interrupt handler.
- Use UnsafeCell for interior mutability.

- Added special handling when popping root from heap of size 1 to
  avoid swapping item with itself.
@eivindbergem
Copy link
Copy Markdown
Collaborator Author

Continued in #18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant