Skip to content

Conversation

@niaow
Copy link
Member

@niaow niaow commented Feb 7, 2020

This PR is based on top of #828, and generalizes the "none" scheduler to work on platforms other than AVR. It should now work on all platforms except WebAssembly. Init should also be run in the main goroutine when using a scheduler, but this is not yet possible as the runtime must be initialized before starting a goroutine.

@niaow niaow added the enhancement New feature or request label Feb 7, 2020
@aykevl aykevl mentioned this pull request Mar 17, 2020
@niaow niaow marked this pull request as ready for review March 17, 2020 14:26
@niaow
Copy link
Member Author

niaow commented Mar 17, 2020

I rebased this on the final merged version of #828, and added in the build tag fix. This is ready for review I think.

Copy link
Member

@aykevl aykevl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.
Can you squash the third commit together with the first? That makes sure bisecting keeps working. (hint: git rebase -i dev if you didn't know).

@aykevl
Copy link
Member

aykevl commented Mar 17, 2020

Oh well I'll merge it anyway. Not too big of a deal.

@aykevl aykevl merged commit 9cef23c into tinygo-org:dev Mar 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants