1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-26 19:18:50 +00:00

Added process private variables.

This commit is contained in:
Kim F. Storm 2003-01-12 20:24:57 +00:00
parent ac4a75846b
commit 94e8ffca66

View File

@ -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