aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.h
diff options
context:
space:
mode:
authorTroels Nielsen2012-06-17 17:00:37 +0800
committerChong Yidong2012-06-17 17:00:37 +0800
commit20ca2e9451e7dbae9b24bf759c4374a674c9270a (patch)
tree869520c949ccfcf28c3d480de8007937363c816c /src/process.h
parent48d1354eb8e8e7dc759400a2f001d02587f15be2 (diff)
downloademacs-20ca2e9451e7dbae9b24bf759c4374a674c9270a.tar.gz
emacs-20ca2e9451e7dbae9b24bf759c4374a674c9270a.zip
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.h2
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
77 Lisp_Object encode_coding_system; 77 Lisp_Object encode_coding_system;
78 /* Working buffer for encoding. */ 78 /* Working buffer for encoding. */
79 Lisp_Object encoding_buf; 79 Lisp_Object encoding_buf;
80 /* Queue for storing waiting writes */
81 Lisp_Object write_queue;
80 82
81#ifdef HAVE_GNUTLS 83#ifdef HAVE_GNUTLS
82 Lisp_Object gnutls_cred_type; 84 Lisp_Object gnutls_cred_type;