postgresql/contrib/test_shm_mq
Robert Haas 4db3744f1f Test code for shared memory message queue facility.
This code is intended as a demonstration of how the dynamic shared
memory and dynamic background worker facilities can be used to establish
a group of coooperating processes which can coordinate their activities
using the shared memory message queue facility.  By itself, the code
does nothing particularly interesting: it simply allows messages to
be passed through a loop of workers and back to the original process.
But it's a useful unit test, in addition to its demonstration value.
2014-01-14 12:24:12 -05:00
..
expected Test code for shared memory message queue facility. 2014-01-14 12:24:12 -05:00
sql Test code for shared memory message queue facility. 2014-01-14 12:24:12 -05:00
.gitignore Test code for shared memory message queue facility. 2014-01-14 12:24:12 -05:00
Makefile Test code for shared memory message queue facility. 2014-01-14 12:24:12 -05:00
setup.c Test code for shared memory message queue facility. 2014-01-14 12:24:12 -05:00
test_shm_mq--1.0.sql Test code for shared memory message queue facility. 2014-01-14 12:24:12 -05:00
test_shm_mq.control Test code for shared memory message queue facility. 2014-01-14 12:24:12 -05:00
test_shm_mq.h Test code for shared memory message queue facility. 2014-01-14 12:24:12 -05:00
test.c Test code for shared memory message queue facility. 2014-01-14 12:24:12 -05:00
worker.c Test code for shared memory message queue facility. 2014-01-14 12:24:12 -05:00