mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
Increase the maximum number of open files allowed to 10 x FD_SETSIZE (which is what poll is limited to on macOS). * configure.ac (--with-poll): New option, default off, for requesting 'poll' support. Check for "sys/poll.h" header. (USE_POLL): New variable. (EMACS_CONFIG_FEATURES): Add USE_POLL. * etc/NEWS: Document --with-poll. * src/sysselect.h: New define EMACS_MAX_FD, defaulting to FD_SETSIZE, for the maximum number of file descriptors Emacs can use. * src/process.c: * src/sysdep.c: * src/nsterm.m (ns_select_1): (applicationDidFinishLaunching): Use EMACS_MAX_FD instead of FD_SETSIZE everywhere. * src/syspoll.h (SYSPOLL_H): New file for definitions related to use of 'poll'. * src/sysselect.h [USE_POLL]: Set EMACS_MAX_FD to 10 x FD_SETSIZE. (emacs_fd_set) [USE_POLL]: New type, used for bitsets of file descriptors. (FD_CLR, FD_ISSET, FD_SET, FD_ZERO) [USE_POLL]: Macros for manipulating bitsets. [USE_POLL]: Include "syspoll.h". * src/process.c (fd_sets_to_pollfds) [USE_POLL]: New function. Converts two 'emacs_fd_set' to an array of 'struct pollfd' (pollfds_to_fd_sets) [USE_POLL]: New function. Converts from an array of 'struct pollfd' to two 'emacs_fd_set'. (timespec_to_timeout) [USE_POLL]: New function, converts a 'struct timespec' to a timeout in milliseconds. (emacs_pselect) [USE_POLL]: Replacement for 'pselect' that calls 'poll' and does the appropriate conversions. Does not support sigmask. |
||
|---|---|---|
| .. | ||
| charsets | ||
| e | ||
| forms | ||
| gnus | ||
| images | ||
| nxml | ||
| org | ||
| refcards | ||
| schema | ||
| srecode | ||
| themes | ||
| tutorials | ||
| AUTHORS | ||
| CALC-NEWS | ||
| ChangeLog.1 | ||
| compilation.txt | ||
| COPYING | ||
| DEBUG | ||
| DEVEL.HUMOR | ||
| DISTRIB | ||
| edt-user.el | ||
| emacs-buffer.gdb | ||
| emacs-mail.desktop | ||
| emacs.desktop | ||
| emacs.icon | ||
| emacs.metainfo.xml | ||
| emacs.service | ||
| emacsclient-mail.desktop | ||
| emacsclient.desktop | ||
| enriched.txt | ||
| ERC-NEWS | ||
| ETAGS.EBNF | ||
| ETAGS.README | ||
| future-bug | ||
| gnus-tut.txt | ||
| grep.txt | ||
| HELLO | ||
| HISTORY | ||
| JOKES | ||
| MACHINES | ||
| MH-E-NEWS | ||
| NEWS | ||
| NEWS.1-17 | ||
| NEWS.18 | ||
| NEWS.19 | ||
| NEWS.20 | ||
| NEWS.21 | ||
| NEWS.22 | ||
| NEWS.23 | ||
| NEWS.24 | ||
| NEWS.25 | ||
| NEWS.26 | ||
| NEWS.27 | ||
| NEWS.28 | ||
| NEXTSTEP | ||
| NXML-NEWS | ||
| ORG-NEWS | ||
| org.gnu.emacs.defaults.gschema.xml | ||
| package-keyring.gpg | ||
| PROBLEMS | ||
| ps-prin0.ps | ||
| ps-prin1.ps | ||
| publicsuffix.txt | ||
| README | ||
| rgb.txt | ||
| ses-example.ses | ||
| spook.lines | ||
| TERMS | ||
| TODO | ||
| w32-feature.el | ||
| yow.lines | ||
This directory contains the architecture-independent files used by or with Emacs. This includes some text files of documentation for GNU Emacs or of interest to Emacs users, and the file of dumped docstrings for Emacs functions and variables. COPYRIGHT AND LICENSE INFORMATION FOR IMAGE FILES File: emacs.icon Author: Sun Microsystems, Inc Copyright (C) 1999, 2001-2022 Free Software Foundation, Inc. License: GNU General Public License version 3 or later (see COPYING)