diff options
author | Troels Nielsen <bn.troels@gmail.com> | 2012-06-17 17:00:37 +0800 |
---|---|---|
committer | Chong Yidong <cyd@gnu.org> | 2012-06-17 17:00:37 +0800 |
commit | 20ca2e9451e7dbae9b24bf759c4374a674c9270a (patch) | |
tree | 869520c949ccfcf28c3d480de8007937363c816c /src/process.h | |
parent | 48d1354eb8e8e7dc759400a2f001d02587f15be2 (diff) | |
download | emacs-20ca2e9451e7dbae9b24bf759c4374a674c9270a.tar.gz |
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
Diffstat (limited to 'src/process.h')
-rw-r--r-- | src/process.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/process.h b/src/process.h index edb937893b0..ae4b6b61c94 100644 --- a/src/process.h +++ b/src/process.h @@ -77,6 +77,8 @@ struct Lisp_Process Lisp_Object encode_coding_system; /* Working buffer for encoding. */ Lisp_Object encoding_buf; + /* Queue for storing waiting writes */ + Lisp_Object write_queue; #ifdef HAVE_GNUTLS Lisp_Object gnutls_cred_type; |