From b852278f33d6b280eed4107301e73ece96080ee5 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 6 Mar 2015 07:14:40 -0500 Subject: Comment and documentation polishing. --- ntpshmread.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'ntpshmread.c') diff --git a/ntpshmread.c b/ntpshmread.c index 7ca18f2b..d230f663 100644 --- a/ntpshmread.c +++ b/ntpshmread.c @@ -85,9 +85,11 @@ enum segstat_t shm_query(/*@null@*/struct shmTime *shm_in, /*@out@*/struct shm_s cnt = shm->count; /* - * This is proof against concurrency issues if either - * (a) the memory_barrier() call works on this host, or - * (b) memset compiles to an uninterruptible single-instruction bitblt. + * This is proof against concurrency issues if either (a) the + * memory_barrier() call works on this host, or (b) memset + * compiles to an uninterruptible single-instruction bitblt (this + * will probably cease to be true if the structure exceeds your VM + * page size). */ memory_barrier(); memcpy((void *)&shmcopy, (void *)shm, sizeof(struct shmTime)); -- cgit v1.2.1