comparison etc/NEWS @ 49228:ac42843384b3

Replace "process private vars" with "process plist".
author Kim F. Storm <storm@cua.dk>
date Tue, 14 Jan 2003 10:18:36 +0000
parents 5a6e0cbe25e5
children 1ace047a072a
comparison
equal deleted inserted replaced
49227:b03a9c537356 49228:ac42843384b3
1490 supported, but new code should use the new functions. 1490 supported, but new code should use the new functions.
1491 1491
1492 *** Function signal-process now accepts a process object or process 1492 *** Function signal-process now accepts a process object or process
1493 name in addition to a process id to identify the signalled process. 1493 name in addition to a process id to identify the signalled process.
1494 1494
1495 *** Processes now have an associated `private variables' property list 1495 *** Processes now have an associated property list where programs can
1496 where programs can maintain process state and other per-process 1496 maintain process state and other per-process related information.
1497 related information. The new functions process-variable and 1497
1498 set-process-variable are used to access and modify this list. 1498 The new functions process-get and process-put are used to access, add,
1499 and modify elements on this property list.
1500
1501 The new low-level functions process-plist and set-process-plist are
1502 used to access and replace the entire property list of a process.
1503
1499 1504
1500 ** Enhanced networking support. 1505 ** Enhanced networking support.
1501 1506
1502 *** There is a new `make-network-process' function which supports 1507 *** There is a new `make-network-process' function which supports
1503 opening of stream and datagram connections to a server, as well as 1508 opening of stream and datagram connections to a server, as well as
1506 - A server is started using :server t arg. 1511 - A server is started using :server t arg.
1507 - Datagram connection is selected using :type 'datagram arg. 1512 - Datagram connection is selected using :type 'datagram arg.
1508 - A server can open on a random port using :service t arg. 1513 - A server can open on a random port using :service t arg.
1509 - Local sockets are supported using :family 'local arg. 1514 - Local sockets are supported using :family 'local arg.
1510 - Non-blocking connect is supported using :nowait t arg. 1515 - Non-blocking connect is supported using :nowait t arg.
1511 - The process' private variables may be initialized using :vars PLIST arg; 1516 - The process' property list may be initialized using :plist PLIST arg;
1512 a server process' private variables are automatically inherited by 1517 a copy of the server process' property list is automatically inherited
1513 new client processes created to handle incoming connections. 1518 by new client processes created to handle incoming connections.
1514 1519
1515 To test for the availability of a given feature, use featurep like this: 1520 To test for the availability of a given feature, use featurep like this:
1516 (featurep 'make-network-process '(:type datagram)) 1521 (featurep 'make-network-process '(:type datagram))
1517 1522
1518 *** Original open-network-stream is now emulated using make-network-process. 1523 *** Original open-network-stream is now emulated using make-network-process.