diff options
Diffstat (limited to 'shmexport.c')
-rw-r--r-- | shmexport.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shmexport.c b/shmexport.c index c79d4c08..eaf8ddf6 100644 --- a/shmexport.c +++ b/shmexport.c @@ -82,6 +82,7 @@ void shm_update(struct gps_context_t *context, struct gps_data_t *gpsdata) memcpy((void *)(context->shmexport + offsetof(struct shmexport_t, gpsdata)), (void *)gpsdata, sizeof(struct gps_data_t)); + barrier(); shared->gpsdata.gps_fd = -1; barrier(); shared->bookend1 = tick; |