changeset 49165:ab4091602937

Added process private variables.
author Kim F. Storm <storm@cua.dk>
date Sun, 12 Jan 2003 20:24:57 +0000
parents 8bee0ccd5fd6
children 05ad80e1c6d2
files src/ChangeLog
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sun Jan 12 20:24:06 2003 +0000
+++ b/src/ChangeLog	Sun Jan 12 20:24:57 2003 +0000
@@ -1,5 +1,17 @@
 2003-01-12  Kim F. Storm  <storm@cua.dk>
 
+	* process.h (struct Lisp_Process): New member private_vars.
+
+	* process.c: (QCvars): New variable.
+	(syms_of_process): Intern and staticpro it.
+	(Fprocess_variable, Fset_process_variable): New functions.
+	(syms_of_process): Defsubr them.
+	(Fstart_process): Initialize private_vars plist to nil.
+	(Fmake_network_process): New arg :vars to setup the private
+	variables for new network process.
+	(server_accept_connection): Copy server's private variables to
+	client process.
+
 	* alloc.c (pure_alloc): Fixed 2003-01-10 changed (caused spurious
 	crashes).  Code rewritten and simplified.  Now directly aligns the
 	pointer and recalculates pure_bytes_used, rather than aligning the