From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: 1024 file descriptors should be enough for anyone Date: Fri, 06 May 2022 10:28:02 +0200 Message-ID: <87bkwb3w19.fsf@gmail.com> References: <874k25726k.fsf@gmail.com> <87pmkslrwx.fsf@yahoo.com> <87v8uk5ucc.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23229"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri May 06 10:29:31 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nmtL9-0005to-Eg for ged-emacs-devel@m.gmane-mx.org; Fri, 06 May 2022 10:29:31 +0200 Original-Received: from localhost ([::1]:58764 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmtL8-0006Cf-2J for ged-emacs-devel@m.gmane-mx.org; Fri, 06 May 2022 04:29:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54610) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmtJo-0005UZ-28 for emacs-devel@gnu.org; Fri, 06 May 2022 04:28:08 -0400 Original-Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]:39670) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nmtJm-0000qq-EZ for emacs-devel@gnu.org; Fri, 06 May 2022 04:28:07 -0400 Original-Received: by mail-wm1-x32e.google.com with SMTP id i67-20020a1c3b46000000b003946c466c17so2440wma.4 for ; Fri, 06 May 2022 01:28:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=3SmBpmqB8T3MqigjSNKkf6tsIpXSAhkkhdMCha043Ck=; b=YHr9PG3IJQsKtjEibDlL1QAbFhFk5nnRRnpa9DI4yh/+4R1RPzUQbG0WIOWvobY/Vc +WuEp/FADAQ/hmOIt6DCTz12ElUI8QBaIfKXhlcKk1bWzylj53ooVxckk9/+Fgptj4PM rOP1ghjOSQ3DPetz8wVHe90AfUoaU6dY5cnXuwoDK2Sz/PMla4KLlbsyDBBswYMFj6uO 5RfBoHUU2ds54dUI0kRhI3dQmn0ul/AQMJOkCnq5TkX4lpuduDPV0116VU/Uziar9luA dsfHfUxBue6RrMIMuIcCGpqH6Xl9lb0SOBZQMEX9FVKaZ0Kci4MxVx7Z5xwnH9/UTvgD b2tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=3SmBpmqB8T3MqigjSNKkf6tsIpXSAhkkhdMCha043Ck=; b=pV2sCt5yUnTk2KfLlxBVlsionQhz+s3U62Wi+pb7yyCl6Y9BFoIU7+uWQQMFRnS9H2 i8/U1TMZchtNfOuHuoNv47gWAZGRU+Sz9L1piCS3T9WG9tJ2cGMhoIcM+FAyukUJIL2H IIGjNAasCb4jCHPoL6SNWWP3NzzRiCnXhX4fN7dV/fFfRHU0BEToqThhcX63Ix+zEbbM gzGpUCRH1YcRGPIhfcDUlfy37AJVm2kIIU8e4j1K/xVFIX0QuAxp6IMOD3dg1MOit0bE GYs02G5tAiLnVIfG0RJfMPmCiprWC0+ATXDw9a5V7KHd664y6I0lMzojDWF87uIXgGIR Fmgg== X-Gm-Message-State: AOAM531en3Ix4+0Sre1Ff6Q8zECpfkLCmcIfesYgLqmFoaYWhPHxjDCS zdMGiXHsqyWWYduyeK7Le8yOp4rCQlA= X-Google-Smtp-Source: ABdhPJw7cJ3pn0FniblanJcCHP8oo71R1fQsndiUggSIXxwOXKjFER721jMXzbaODTkRNOOc4lwaZQ== X-Received: by 2002:a7b:ce95:0:b0:393:fbe5:32a7 with SMTP id q21-20020a7bce95000000b00393fbe532a7mr2182580wmj.123.1651825684492; Fri, 06 May 2022 01:28:04 -0700 (PDT) Original-Received: from rltb ([2a01:e0a:3f3:fb50:dd04:f97a:c5f0:cc04]) by smtp.gmail.com with ESMTPSA id l5-20020a5d5605000000b0020c5253d8d3sm2984279wrv.31.2022.05.06.01.28.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 May 2022 01:28:03 -0700 (PDT) In-Reply-To: <87v8uk5ucc.fsf@gmail.com> (Robert Pluim's message of "Thu, 05 May 2022 09:09:23 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=rpluim@gmail.com; helo=mail-wm1-x32e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:289299 Archived-At: >>>>> On Thu, 05 May 2022 08:55:10 +0800, Po Lu said: Po> Great, thanks! Though would prefer `syspoll.h' to be part of Po> `sysselect.h' instead, since it just defines a wrapper that pretend= s to Po> be `pselect'. It also means we can get rid of the following Po> incantation: >>> +#ifdef USE_POLL >>> +#include "syspoll.h" >>> +#endif I kind of did this: syspoll.h still exists, but it=CA=BCs now included via sysselect.h Po> init_xterm must reject displays whose fds are larger than FD_MAXSIZ= E on Po> Lucid and Motif builds, since Xt uses pselect internally. (I don't Po> remember if XtOpenDisplay does that for you anymore.) xcb will check for exceeding FD_SETSIZE, but only when using 'select', and Xt will use 'poll' if it=CA=BCs available, so I don=CA=BCt think it=CA= =BCs an issue. Robert --=20