Skip to content
New issue

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

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

Already on GitHub? # to your account

Added several disabling of the GIL so that other threads can run when… #53

Merged
merged 1 commit into from
Feb 23, 2017

Conversation

billmccartney
Copy link
Contributor

… the spi is I/O bound.
I only implemented this on xfer2.

@ead0601
Copy link

ead0601 commented Feb 23, 2017

Bill,

Thanks a million. This fixed my open issue: #55

I had added the following to my boot config to help with threading and clock throttling.

core_freq=250

Stopping the threading during the xfer2 solved all of my issues.

Thanks,
Edward

Copy link
Owner

@doceme doceme left a comment

Choose a reason for hiding this comment

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

👍

@doceme doceme merged commit a76493f into doceme:master Feb 23, 2017
Copy link

@ead0601 ead0601 left a comment

Choose a reason for hiding this comment

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

Changes are simple to stop threading during access to the hw layer. The changes solved my issue, and have not broken anything else.

@ead0601 ead0601 mentioned this pull request Feb 23, 2017
@doceme
Copy link
Owner

doceme commented Feb 23, 2017

@ead0601 Okay, I think I misunderstood your previous comments. Glad to hear this fixes your issue. Thanks @billmccartney for adding this.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants