Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Continuous location updates#500

Merged
jonls merged 5 commits intomasterfrom
continuous-location
Aug 19, 2017
Merged

Continuous location updates#500
jonls merged 5 commits intomasterfrom
continuous-location

Conversation

@jonls
Copy link
Copy Markdown
Collaborator

@jonls jonls commented Aug 17, 2017

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
Copy Markdown

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

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

3 participants