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

Resolves Issue 20 #21

Merged
merged 6 commits into from
Mar 14, 2017
Merged

Resolves Issue 20 #21

merged 6 commits into from
Mar 14, 2017

Conversation

int3ll3ct
Copy link
Collaborator

This pull request resolves issue #20. It needs to be tagged as v0.2.1, and the release notes copied into the guthub releases page.

I moved processes creation to init() time, eliminated the auto_connect() thread, and moved auto_connect logic to the start of the _comm process. auto_connect() now simply sets a shared memory flag to signal _comm to start the connection process. Threads for state_transition_func and update_data_func callbacks are created when the client calls freshroastsr700.auto_connect(), well after the _comm and _timer processes are spawned, which preserves the ability to pickle freshroastsr700 when the processes spawn.

@int3ll3ct int3ll3ct merged commit a826144 into master Mar 14, 2017
@int3ll3ct int3ll3ct deleted the issue-20 branch March 14, 2017 15:08
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.

1 participant