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

Continuous location updates #500

Merged
merged 5 commits into from
Aug 19, 2017
Merged

Continuous location updates #500

merged 5 commits into from
Aug 19, 2017

Conversation

jonls
Copy link
Owner

@jonls jonls commented Aug 17, 2017

jonls added 2 commits August 17, 2017 19:52
Change location provider implementations so it is possible for
location providers to dynamically update the location. This
commit adds the interfaces and infrastructure in redshift.c
but none of the location provides are changed to become dynamic.
Add pipeutils.c with utility functions for working with pipes as
signals across threads. Using pipes for signals makes it easy for
the main thread to wait on (multiple) file descriptors with or
without a timeout.
@jonls jonls force-pushed the continuous-location branch 2 times, most recently from 49bf650 to cebfbcf Compare August 18, 2017 03:06
@xeruf
Copy link

xeruf commented Feb 16, 2018

"we still don't cache the location on disk but if the location provider becomes unavailable, the last returned location is used until the location provider is able to provide updates again" WHY?

I just started my PC and had no internet, so I had to stare at this glaring white-blue because it couldn't track my location? Why not create a file with a few bytes in the tmp dir saving the last location?

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.

OS X: there is no CFRunLoop Continuously update position from location provider
2 participants