]> granicus.if.org Git - postgresql/commit
Single-reader, single-writer, lightweight shared message queue.
authorRobert Haas <rhaas@postgresql.org>
Tue, 14 Jan 2014 17:23:22 +0000 (12:23 -0500)
committerRobert Haas <rhaas@postgresql.org>
Tue, 14 Jan 2014 17:23:22 +0000 (12:23 -0500)
commitec9037df2634ddcd6a3b036463722c8ee009b132
tree67565ef6475ce57f9d1097338c4e42dc3b327a46
parent6ddd5137b26c64360b86ea4174f21362df4f167a
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.
src/backend/storage/ipc/Makefile
src/backend/storage/ipc/shm_mq.c [new file with mode: 0644]
src/include/storage/shm_mq.h [new file with mode: 0644]