Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connectionsPath: ...!2.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!raubtier-asyl.eternal-september.org!.POSTED!not-for-mail From: Bonita Montero Newsgroups: comp.lang.c++,comp.lang.c Subject: Re: Threads across programming languages Date: Wed, 1 May 2024 06:54:13 +0200 Organization: A noiseless patient Spider Lines: 14 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 01 May 2024 06:54:10 +0200 (CEST) Injection-Info: raubtier-asyl.eternal-september.org; posting-host="d66863e752376af43732745fa2825b15"; logging-data="3141016"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX181fF0+hGAi1nwV6eteyu8eWuR1WDE//iA=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:U+UWpw2L1yfcBdXUqafcUCNfd2E= In-Reply-To: Content-Language: de-DE Bytes: 1746 Am 29.04.2024 um 22:33 schrieb Chris M. Thomasson: > On 4/29/2024 1:29 PM, Lawrence D'Oliveiro wrote: >> On Mon, 29 Apr 2024 19:13:09 +0300, Paavo Helde wrote: >> >>> Just for waiting on thousands on sockets I believe a single select() >>> call would be sufficient ... >> >> We use poll(2) or epoll(2) nowadays. select(2) is antiquated. > > AIO on Linux, IOCP on windows. Boost.ASIO does that all for you with a convenient interface. If enabled it even uses io_uring or the Windows' pendant.