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

From Robert Haas
Subject pgsql: Single-reader, single-writer, lightweight shared message queue.
Date
Msg-id E1W37iT-0004Ni-NQ@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Simple table of contents for a shared memory segment.
Next
From: Robert Haas
Date:
Subject: pgsql: Test code for shared memory message queue facility.