pgsql: Single-reader, single-writer, lightweight shared message queue.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Single-reader, single-writer, lightweight shared message queue.
Date: 2014-01-14 17:23:53
Message-ID: E1W37iT-0004Ni-NQ@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Single-reader, single-writer, lightweight shared message queue.

This code provides infrastructure for user backends to communicate
relatively easily with background workers. The message queue is
structured as a ring buffer and allows messages of arbitary length
to be sent and received.

Patch by me. Review by KaiGai Kohei and Andres Freund.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/ec9037df2634ddcd6a3b036463722c8ee009b132

Modified Files
--------------
src/backend/storage/ipc/Makefile | 2 +-
src/backend/storage/ipc/shm_mq.c | 945 ++++++++++++++++++++++++++++++++++++++
src/include/storage/shm_mq.h | 70 +++
3 files changed, 1016 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2014-01-14 17:24:43 pgsql: Test code for shared memory message queue facility.
Previous Message Robert Haas 2014-01-14 17:22:33 pgsql: Simple table of contents for a shared memory segment.