DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 524BMYxN3381821 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 524BMYxN3381821 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=Sldcwj8W X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B25D33858C51 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1741087352; bh=OZwIp61u3zPKg4Dx2nvT2NrzsKCvu0MTChsvH7zqcaM=; h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=Sldcwj8WJNndYiPdBvfeCuCjJf+mq2WJR/3E8t7BSa1ubbEXJEdGkeMhDjaMrfGlH 0qX4yDskj5m+/VtW31SwHfI8F2dS4tAKtS0NR9shUAf/hPVujmu+mhNYnyH66r8eAB Db14m35NEbjS6j22UW9t1F44QylPs96poGFlF4Z8= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A20213858D26 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A20213858D26 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1741087280; cv=none; b=uUwKbUqnZhWtHxDWYE1boPiikCsXruogpgNmlQRAu72+xpv8Dm5vl6YxVdLYQ9L3U3u2UGuTIR+9SyjsNss8S0yQBto1TMTWFHJBl+NAcsrlil48dXqn71GFA4UrfdSSBT+US0CvSbklu0t52cehUhFmjE3gLKd3qF9FHHmz6JM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1741087280; c=relaxed/simple; bh=WSzOmpYgsmtKfa+swhx+x7hPbQX3lMgPCeegiNJk1Wg=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=IiVlAuavaRbE4U1ocJEetUe3YmzD/9lM0vQjm988IQKTgNSENkDYiZiCuwwNAGyLkxP67HDcUm3Qg7f/+HNG8uriri3Kk1pjNSn/ZGRTHmBAEw75vWbH5aofomF4MKDoXUeTEklwX7imDTJsqkDuiZtmyFd6j2setZDOXfUXo2A= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A20213858D26 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741087279; x=1741692079; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=6svDS2A0CJVcs2gbsjmC37ZGEx+mYmuORh/eEuCg188=; b=tfuKPkr/Y6lX5bTN8CJT+P5fSuto/pSS+pgFtL6x2U5Zr0OAszZIEWs2dLg+MG58l0 tajXJMMqsl7okn+mO5CmLQWU9H5SNanAWCVrneTyoySE0zw59ge/910KBnDmMgpMDV18 naLVf1NSHAPKK8ysq5WRk1bd5SZggIOsjrycXBTW60APSh/nRcuKpq0a7BSutVtO9/NU cBNmez8Wx20yUmes3wkZUfmNzlkmJa6rBcujDNZpnFYUzYq8nrh+RWvDfV6NPMemY/xJ OLX0LkaSP9SlDlnIkiK6g7+Ow9JopZ7N9nqD+vZASoAR8BcDCCPc9unYBFlLerYRhNXL YNmQ== X-Gm-Message-State: AOJu0YxhbYYJCwan0P6hcDygLf5YpISv7Jp92LeLGualiMqFMjAG7pgM 13Qw2s0DLTPvMvRptQMS1XVLT5ieRoPYAUFZi+crG5woQ9whrAHG1JBxiD/H1X8XWW3pBpZE0aY x9cxjbCg3HZAecoUJR3wirtfdmIyp7b6D X-Gm-Gg: ASbGncvbbHlTwNQBsLqlOh5XAxR3H4rJ3UCUwIuwkqFfgI3SwOOHrHgv4DKCpDDssoe lWrjRIjuezj1dn0HBEw8MhtVanO8grRQ2igXoHGk8RfTtmNhOuYEJhcgs9C5JKkcFfWBFYDpNEy HMJEcHnh8R5qW6m0FOqg1VHb5HMg== X-Google-Smtp-Source: AGHT+IEOp7jni9fqp3cxNT38mcqY/+L+cs4/lAbqsSaWtKeoDWRhPK3JGA5fB3jtuA08/C970izlCAqAVSK0mP7by5Q= X-Received: by 2002:a17:907:97c1:b0:ac1:ea6e:ad64 with SMTP id a640c23a62f3a-ac1ea6ff060mr467427466b.28.1741087278668; Tue, 04 Mar 2025 03:21:18 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Tue, 4 Mar 2025 12:20:42 +0100 X-Gm-Features: AQ5f1JqxhfHpBYjwYHogKa_73m7k8m4_Tl6GhAuuaqfQtswv7Ku8m0E0aHd8d-c Message-ID: Subject: Re: Cygwin 3.6: Supporting 128 POSIX realtime (SIGRTMAX-SIGRTMIN >= 128) signals? To: cygwin AT cygwin DOT com X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Lionel Cons via Cygwin Reply-To: Lionel Cons Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" On Tue, 4 Mar 2025 at 11:08, Corinna Vinschen via Cygwin wrote: > > On Mar 3 23:07, Lionel Cons via Cygwin wrote: > > On Mon, 3 Mar 2025 at 12:43, Corinna Vinschen via Cygwin > > wrote: > > > > > > On Feb 28 15:36, Lionel Cons via Cygwin wrote: > > > > We've hit a scalability issue in Cygwin today, the application in > > > > question ran out of POSIX realtime signals (i.e. SIGRTMIN-SIGRTMAX). > > > > > > > > Could Cygwin support 128 POSIX realtime signals? > > > > > > Not possible. sigset_t is an unsigned long, thus we can only support > > > up to 64 signals. > > > > > > A change to a bigger sigset_t is an ABI breakage and requires two > > > different entry points for all functions touching the sigset_t type, one > > > for the new definition of sigset_t, one for backward compatibility with > > > existing applications. This *could* be part of 3.7, but I don't make > > > any promises. > > > > gcc has int128_t - would that help you? > > Not at all. It doesn't change the underlying problem of the ABI breakage. That is... bad. For the new ABI, maybe store a pointer to the byte array which holds the signal bits, and the array has a size prefix, so it can be extended on demand? Public functions only use pointer+size then... Lionel -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple