summaryrefslogtreecommitdiff
path: root/libgps_shm.c
Commit message (Collapse)AuthorAgeFilesLines
* Repair the logic for setting a non-default SHM export segment.Eric S. Raymond2015-02-161-1/+1
| | | | | | Also, ensure this always happens within the regression-test driver. All regression tests pass.
* Instrument shm segment creation a bit better.Eric S. Raymond2015-02-111-2/+4
| | | | All regression tests pass.
* BSD compiler waening and splint cleanup.Eric S. Raymond2015-02-111-0/+2
|
* Implement and document GPSD_SHM_KEY environment variable.Eric S. Raymond2015-02-091-2/+2
|
* First part of Android port patches: deal with in_port_t. SUN_LEN, and getsid().Eric S. Raymond2014-08-181-2/+4
| | | | | | | | | Also, fix how configuratuin in libgps_shm.c and smexport.h is handled. Based on a patch by Samuel Cuella <samuel.cuella@supinfo.com>, but cleaned up some to obey local conventions better. All regression tests pass.
* Clarifying name change. All regression test pass. PPS is live.Eric S. Raymond2013-11-061-7/+7
|
* Full splint cleanup. Partial cppcheck cleanup.Eric S. Raymond2013-11-051-2/+1
|
* Fix hang bug in the SHM client code. Thanks to Michael Tatarinov.Eric S. Raymond2013-11-011-2/+2
| | | | This has been broken for two years and nobody noticed!
* Nuke trailing whitespace in C source.Eric S. Raymond2012-09-071-9/+9
|
* The shm export gets a waiting method.Eric S. Raymond2011-10-031-10/+23
|
* First cut at implementing waiting test for shm export.Eric S. Raymond2011-10-031-0/+14
| | | | Timeout argument is presently ignored.
* Remove duplicate code.Michael Tatarinov2011-09-301-1/+0
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Magic-number elimination.Eric S. Raymond2011-09-301-2/+2
| | | | All three exports work.
* Re-do runtime dispatch in the client library.Eric S. Raymond2011-09-301-2/+0
|
* splint cleanup.Eric S. Raymond2011-09-281-0/+2
|
* Avoid a name collision.Eric S. Raymond2011-09-281-2/+2
|
* First step in runtime export dispatch for the client library.Eric S. Raymond2011-09-281-4/+18
|
* splint cleanup.Eric S. Raymond2011-09-281-1/+1
|
* Break out prototypes for client library export methgods into a new heasder.Eric S. Raymond2011-09-281-0/+1
| | | | All regression tests pass. All three exports work in gpxlogger.
* Abstract out the shm export main loop.Eric S. Raymond2011-09-281-0/+15
|
* Get back to a state where the shm export works.Eric S. Raymond2011-09-271-25/+0
|
* More API convergence.Eric S. Raymond2011-09-271-2/+1
|
* Converge the library APIs for different transports more closely.Eric S. Raymond2011-09-271-0/+26
|
* Comment fix.Eric S. Raymond2011-06-301-2/+2
|
* Make the shared-memory export set the NMEA status field.Eric S. Raymond2011-04-181-0/+7
|
* Banish a compiler warning.Eric S. Raymond2011-04-121-0/+4
|
* Scan-build and splint cleanup. All regression tests pass.Eric S. Raymond2011-03-281-0/+2
|
* Improve the barrier code and beat GCC harder about not reordering operations.Eric S. Raymond2011-03-281-2/+3
|
* Double-buffer to prevent a corrupted shm read from clobbbering the user copy.Eric S. Raymond2011-03-281-3/+11
|
* Part repair of the shm dispatch.Eric S. Raymond2011-03-271-0/+1
| | | | | Uh oh. One of my rests was broken. The gps_shm_* functions work, but dispatch to them through the public API is broken. This partway fixes it.
* Shared-memory export is now integrated and documented.Eric S. Raymond2011-03-271-0/+2
|
* Begin splitting apart libgps_core.c into socket-export and generic functions.Eric S. Raymond2011-03-271-1/+1
|
* Change return values in the shm interface to be more like socket export.Eric S. Raymond2011-03-271-1/+1
| | | | All regression tests pass. Code splints clean. shm live-testing works.
* Move the memory barrier instructions into the header fileBeat Bolli2011-03-271-6/+2
| | | | | | This allows adding other compilers and/or architectures later as needed. Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Re-identify most *_IS flags with corresponding *_SET flags.Eric S. Raymond2011-03-271-1/+1
| | | | | | | | | | | Required so clients looking at flag masks in data exported via the shared-memory interface will see the right thing. These were separated originally in order to avoid pushing the reqyuired width of the gpsdata.set flag mask over 32 bits. It became 64 bits in the Version 5 API change, so that constraint went away. All regression tests pass.
* Startlingly, memcpy() is *less* of a problem for the seqlock than I thought.Eric S. Raymond2011-03-261-8/+16
|
* Plant warnings about odd memcpy() implementations.Eric S. Raymond2011-03-261-0/+10
|
* First cut at read side of shared-memory exporter.Eric S. Raymond2011-03-261-0/+75
Untested, probably buggy. All regression tests pass.