When the server process is terminated, wait for the children to exit
commit29f2df633572cb21856e66295b4f2d875a6c3098
authorBen Kibbey <bjk@luxsci.net>
Thu, 12 Jul 2007 01:39:23 +0000 (11 21:39 -0400)
committerBen Kibbey <bjk@luxsci.net>
Thu, 12 Jul 2007 01:39:23 +0000 (11 21:39 -0400)
tree79aa829864985b1da4b339460ebcc2cc073f2477
parent2923ee872a1750e070fb5942f9f8a779864f8a85
When the server process is terminated, wait for the children to exit
before the parent does. This keeps the shared memory around until it's
done being used. This fixes clients writing to the unmapped shared
memory.
src/pwmd.c
src/pwmd.h