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.help Subject: Re: What does the error "Process not running" mean? Date: Thu, 10 Feb 2022 15:20:23 +0100 Message-ID: <878rui3is8.fsf@gmail.com> References: <87sfszu2ls.fsf@gnu.org> <3qySp5xSA2V0n9C8vwql9UbGKia8POa7OZcDnXg6e8jvW59uKuICMg8MMi5o-drq2sIcWWOejQJhal9aBXZaZM09a6oyenNylYnn5Qjp-H8=@protonmail.com> <6Ox0QxOSiVddeNsCaACeldkV9F-Nh9dM-rRERWveYqhG8t126cIm2MGmadX7Uy8YL-IQX9-Y__ZjAwEKArVB5v81UoZWZ7U4_1R70ywhZZY=@protonmail.com> <8jy--UTf4wNbxysxHArjzE3ADfF5mB_ZsfnFd7sgKpf_GM_9O5YqVK1PH1QbnoizHbb6HonK-BeQEQx0OpCmSRnMSpJzNTcHHXASGOoiD9I=@protonmail.com> <0exCUWooGz4gRj1cdyO2isMWNvQjJYG7ewlmlP4yVyI0TcmLay25bHVnvt9HS1COppfJrHcWLaIi5WHaAQ-fOZuwq0UcYLtOv3yca17aha0=@protonmail.com> <87pmny8nb4.fsf@gnu.org> <83zgn2wi8u.fsf@gnu.org> <87zgn149eu.fsf@gmail.com> <83a6f1w6it.fsf@gnu.org> <87o83g4ehe.fsf@gmail.com> <83pmnwunsz.fsf@gnu.org> 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="8178"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 10 17:23:34 2022 Return-path: Envelope-to: geh-help-gnu-emacs@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 1nICEI-00020S-9k for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 10 Feb 2022 17:23:34 +0100 Original-Received: from localhost ([::1]:52898 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nICEF-0002OJ-TI for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 10 Feb 2022 11:23:32 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59094) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIAJB-0004c3-6D for help-gnu-emacs@gnu.org; Thu, 10 Feb 2022 09:20:32 -0500 Original-Received: from [2a00:1450:4864:20::32f] (port=46014 helo=mail-wm1-x32f.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nIAJ9-0002Ls-I7; Thu, 10 Feb 2022 09:20:28 -0500 Original-Received: by mail-wm1-x32f.google.com with SMTP id j5-20020a05600c1c0500b0034d2e956aadso4028576wms.4; Thu, 10 Feb 2022 06:20:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=RcAEaaHFiO0RCCw59TSp0aWeNgJJTofsH/yOSZGjsdY=; b=JYsykty/+3EJrdp1rIf/NhiZCY6R/4mb/z1Rr3SYsqp11LqExxSQEyJ8WgtdA9c81v SHTxi2QQxZ0FJuFX2aJFAhjEkL/lhUfrxt+UOmVrjZ2KtVMuBVexcNliqAYSYeoywJuH ge7u8vtw5hhRJfdkqnXKadiD2uBTf4i/hokgb/DOlWfyvPuLa4KRY2EP6HxBUC1+M0o7 hpviswbnBQ+syuIq9sRHzpBPd92OfIPAeubQ16/riJXlCg0a9ZnPuyX7TwPlSMV4VFkJ RALFSNbChC4qVfpeiOKDTI3k/SmhcUeKQvIKq5hZjfX5ZD+dF4yb18nw4ky5sNcFtrAa AHew== 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 :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=RcAEaaHFiO0RCCw59TSp0aWeNgJJTofsH/yOSZGjsdY=; b=T9O0QbSoBDjgGKadKA+Pw0ejav7qLftDQ3jBDuRXrMvxtu4w4Dd8JmzbvsEKj6EvVs IkUSCDbKcydmQ93pu54SUwiuPz9s09FY/BzQOSu5jfZ4ydLVti2ssigfTHisz2JWzRjJ 1A/oZspLM3qytf1XRt6pXOQeQWsvB0Ho37bfnvwJX4nMkMXJUZoFTQnm4Y0ZJ87emR1P inpH61Mu//VLqBZFaqDgc25aLdWyoHoFgcX8A3PrHMrK8n5P2CAwIkEiYhc3f47Ku0gQ vJJDmOv/BwwoAKA9LsCh+9QVk0yZddE8EhMgNujT1Ie0RIbNwT7JT8loO0WUsqwUahdn HTaQ== X-Gm-Message-State: AOAM531/8wMTGbBUFUGxQvaqpFc+6Yxuo/o4lp5ac5kaqEymJ2YrMex4 cMLbk8SF7tiB/kT15YGiOg+NW/tq9Ug= X-Google-Smtp-Source: ABdhPJxSqeLdy7VqjVgJQoSznFM+1Wb/7GESRINiELgk3fequhNA+ZrrreZL4+Krn65KVndbY8T0NA== X-Received: by 2002:a1c:4641:: with SMTP id t62mr2377977wma.12.1644502825039; Thu, 10 Feb 2022 06:20:25 -0800 (PST) Original-Received: from rltb ([2a01:e0a:3f3:fb50:850a:45c1:3a1a:b9de]) by smtp.gmail.com with ESMTPSA id u17sm1576014wmq.41.2022.02.10.06.20.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Feb 2022 06:20:24 -0800 (PST) Gmane-Reply-To-List: yes In-Reply-To: <83pmnwunsz.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 09 Feb 2022 16:17:32 +0200") X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::32f (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=rpluim@gmail.com; helo=mail-wm1-x32f.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:135884 Archived-At: >>>>> On Wed, 09 Feb 2022 16:17:32 +0200, Eli Zaretskii said: >> From: Robert Pluim Eli> Why do you think the Gnulib module is free from the same (or simil= ar) Eli> limitation? Isn't FD_SETSIZE =3D 64 in winsock2.h? >>=20 >> It is, but you=CA=BCre allowed to set it higher, as far as I know. Eli> Not with the Gnulib emulation, AFAICT, since they call the same AP= I we Eli> call in Emacs, which is limited to waiting on 64 handles. You=CA=BCre right, I=CA=BCd missed that. That=CA=BCs fixable, but then we s= till run into the issue with supporting old Windows versions. >> Maybe it would be enough to just call winsock `select' from Emacs' >> select emulation, but only for sockets. Eli> That's ugly, complicated (sockets are handles, file descriptors Eli> aren't), and in some use cases will still hit the limit. Eli> These half-measures aren't the kind of a solution I'd consider as = good Eli> candidates for replacing the current code. We should probably use Eli> WSAAsyncSelect for sockets, and/or use several threads, each one Eli> watching 64 handles, to wait on 64*N handles. _That_ would be wor= th Eli> it. Yes, that does sound better, although given the unexpected side-effects of my experiments with WSAEventSelect, it might be tricky to get right. Robert --=20