diff options
| author | Lars Ingebrigtsen | 2016-02-22 16:18:32 +1100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2016-02-22 16:18:32 +1100 |
| commit | a4e351b0971fda0606cbc4641a6c28e13adef6ca (patch) | |
| tree | a4c3445203be9c681c7cc1273dcf6c6fa5e7d9e4 | |
| parent | 87e9e1b61cd4c0356e7f357f5cee6c226dc6fd35 (diff) | |
| download | emacs-a4e351b0971fda0606cbc4641a6c28e13adef6ca.tar.gz emacs-a4e351b0971fda0606cbc4641a6c28e13adef6ca.zip | |
Mention the further asynchronousity
| -rw-r--r-- | etc/NEWS | 16 |
1 files changed, 16 insertions, 0 deletions
| @@ -31,6 +31,22 @@ otherwise leave it unmarked. | |||
| 31 | 31 | ||
| 32 | * Changes in Emacs 25.2 | 32 | * Changes in Emacs 25.2 |
| 33 | 33 | ||
| 34 | +++ | ||
| 35 | ** The networking code has been reworked so that it's more | ||
| 36 | asynchronous than it was (when specifying :nowait t in | ||
| 37 | `make-network-process'). How asynchronous it is varies based on the | ||
| 38 | capabilities of the system, but on a typical GNU/Linux system the DNS | ||
| 39 | resolution, the connection, and (for TLS streams) the TLS negotiation | ||
| 40 | are all done without blocking the main Emacs thread. To get | ||
| 41 | asynchronous TLS, the TLS boot parameters have to be passed in (see | ||
| 42 | the manual for details). | ||
| 43 | |||
| 44 | Certain process oriented functions (like `process-datagram-address') | ||
| 45 | will block until socket setup has been performed. The recommended way | ||
| 46 | to deal with asynchronous sockets is to avoid interacting with them | ||
| 47 | until they have changed status to "run". This is most easily done | ||
| 48 | from a process sentinel. | ||
| 49 | |||
| 34 | ** It is possible to disable attempted recovery on fatal signals | 50 | ** It is possible to disable attempted recovery on fatal signals |
| 35 | 51 | ||
| 36 | Two new variables allow to disable attempts to recover from stack | 52 | Two new variables allow to disable attempts to recover from stack |