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

Thread acquiring lock was interrupted #1

Open
taboneclayton opened this issue Sep 30, 2011 · 0 comments
Open

Thread acquiring lock was interrupted #1

taboneclayton opened this issue Sep 30, 2011 · 0 comments
Assignees

Comments

@taboneclayton
Copy link
Contributor

The jamod library uses a mutex to control access to the execute method.
The ramping thred can be interrupted after (or during the process) acquiring this lock. This is handled by the jamod library by catching the interrupted exception and terminating.

@ghost ghost assigned taboneclayton Sep 30, 2011
taboneclayton added a commit that referenced this issue Sep 30, 2011
Constants.java: Added an environment to easily switch the values of some constants between development and production.
MotorController.java: The ramping algorithm runs inside a self-contained task. This was done to make it respond to interrupts when new ramping commands are received. There is still a bug in this implementation which has been commented as Issue #1 in github.
RudderControllerApplication.java: The logic of the rotation was inverted. This should be a temporary hack and should be fixed from the front end.
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

No branches or pull requests

1 participant