diff options
Diffstat (limited to 'src/backend/storage/ipc/shm_mq.c')
-rw-r--r-- | src/backend/storage/ipc/shm_mq.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/backend/storage/ipc/shm_mq.c b/src/backend/storage/ipc/shm_mq.c index c80cb6e2f70..9c227c0a64a 100644 --- a/src/backend/storage/ipc/shm_mq.c +++ b/src/backend/storage/ipc/shm_mq.c @@ -1203,9 +1203,10 @@ shm_mq_inc_bytes_read(shm_mq *mq, Size n) /* * Separate prior reads of mq_ring from the increment of mq_bytes_read - * which follows. This pairs with the full barrier in shm_mq_send_bytes(). - * We only need a read barrier here because the increment of mq_bytes_read - * is actually a read followed by a dependent write. + * which follows. This pairs with the full barrier in + * shm_mq_send_bytes(). We only need a read barrier here because the + * increment of mq_bytes_read is actually a read followed by a dependent + * write. */ pg_read_barrier(); |