Ensure correct ordering of process writes.
commit20ca2e9451e7dbae9b24bf759c4374a674c9270a
authorTroels Nielsen <bn.troels@gmail.com>
Sun, 17 Jun 2012 09:00:37 +0000 (17 17:00 +0800)
committerChong Yidong <cyd@gnu.org>
Sun, 17 Jun 2012 09:00:37 +0000 (17 17:00 +0800)
tree869520c949ccfcf28c3d480de8007937363c816c
parent48d1354eb8e8e7dc759400a2f001d02587f15be2
Ensure correct ordering of process writes.

* process.c (make_process): Initialize write_queue.
(write_queue_push, write_queue_pop): New functions.
(send_process): Use them to maintain correct ordering of process writes.

Fixes: debbugs:10815
src/ChangeLog
src/process.c
src/process.h