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

sbp.client changes for piksi_firmware #63

Merged
merged 1 commit into from
Mar 31, 2015
Merged

Conversation

mfine
Copy link
Contributor

@mfine mfine commented Mar 30, 2015

These are changes needed to support piksi_firmware for swift-nav/piksi_firmware#295.

/cc @mookerji

@mookerji
Copy link
Contributor

.... so now might be a good time to figure out a better thread safety story with the context manager. I believe that with threading.Lock(): .... works within a context, so it may just be that straightforward.

@mfine
Copy link
Contributor Author

mfine commented Mar 31, 2015

Not sure if the problem is going to surface with the context managers, as I'm not super familiar with how contention around that will look like - assume it will be something similar - not sure how you could have multiple threads exiting the same context manager - but are you thinking something like this?

master...mfine:mfine-threading-contexts

I dug up a lot and couldn't find any great examples of chaining contexts - is there a decorator pattern that will do this or something?

@mfine
Copy link
Contributor Author

mfine commented Mar 31, 2015

See #65.

mookerji added a commit that referenced this pull request Mar 31, 2015
`sbp.client` changes for piksi_firmware
@mookerji mookerji merged commit 742eaea into master Mar 31, 2015
@mfine mfine deleted the mfine-serial-leaning branch April 8, 2015 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants