Skip to content
This repository was archived by the owner on Nov 15, 2021. It is now read-only.

Conversation

@molnargab
Copy link
Contributor

Yielding a thread may have no affect at all (e.g. if there are no other threads to execute).

This PR introduces a helper method to sleep the current thread in case yield wasn't successful, i.e. it would still continue to run.

Supposed to fix #349.

sawilde added a commit that referenced this pull request Dec 21, 2015
@sawilde sawilde merged commit 9772367 into OpenCover:master Dec 21, 2015
@molnargab molnargab deleted the sleep_if_yield_fails branch December 24, 2015 11:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OpenCover Console uses 1 CPU to 100%

2 participants