Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nct677x esio mutex #1254

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

sebastian-dev
Copy link
Contributor

Fix the access with multiple devices.
Issue: #1243
Improper accessing the Nuvoton eSIO causes problems with other monitoring software

Fix the access with multiple devices.
Issue: LibreHardwareMonitor#1243
Improper accessing the Nuvoton eSIO causes problems with other monitoring software
if (access != EC_SPACE_PAGE_SELECT)
{
timeout--;
System.Threading.Thread.Sleep(1);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think no, yield has no defined timing behavior. the the cpu is idle 100*yield can return after 1ms or 100x 20ms when you have 100% cpu load.
Yield has 100% cpu load. Maybe we can capure the time and abort after a timespan or retries.

@sebastian-dev
Copy link
Contributor Author

The updated version has a defined timout behavior.

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.

None yet

2 participants