Skip to content

Conversation

@aykevl
Copy link
Member

@aykevl aykevl commented Aug 16, 2019

A bug was introduced in the previous commit that led to miscompilations
in the time.Sleep function when the scheduler was disabled, because
time.Sleep (implemented in the runtime) tried to switch to the scheduler
stack.

This commit restores the binary size of most examples to what it was
before, but still reduces static RAM consumption (.bss) slightly. This
gives me some confidence that it does indeed fix the introduced bug.

A bug was introduced in the previous commit that led to miscompilations
in the time.Sleep function when the scheduler was disabled, because
time.Sleep (implemented in the runtime) tried to switch to the scheduler
stack.

This commit restores the binary size of most examples to what it was
before, but still reduces static RAM consumption (.bss) slightly. This
gives me some confidence that it does indeed fix the introduced bug.
@deadprogram
Copy link
Member

Confirms that this does address the issue I reported previously. Now merging.

@deadprogram deadprogram merged commit e4fc3bb into dev Aug 17, 2019
@deadprogram deadprogram deleted the fix-stackful-scheduler branch August 17, 2019 06:42
@aykevl aykevl mentioned this pull request Sep 15, 2019
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.

3 participants