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: ...!weretis.net!feeder9.news.weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Chris M. Thomasson" Newsgroups: comp.lang.c++,comp.lang.c Subject: Re: Threads across programming languages Date: Thu, 2 May 2024 17:22:15 -0700 Organization: A noiseless patient Spider Lines: 21 Message-ID: References: <20240502171354.89@kylheku.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 03 May 2024 02:22:16 +0200 (CEST) Injection-Info: dont-email.me; posting-host="96a83a72b940e46d81a2b3c04610ffbd"; logging-data="166677"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Qgv3n3WL5IxDxDw8GPgugGJRN0UabHzw=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:xrwG6ZMRvX1oRms1UWjhxqhDQII= In-Reply-To: <20240502171354.89@kylheku.com> Content-Language: en-US Bytes: 2160 On 5/2/2024 5:15 PM, Kaz Kylheku wrote: > On 2024-05-02, Chris M. Thomasson wrote: >> The CPU can become a bottleneck. > > Unfortunately, not in a way that you could use for playing slide > guitar, let alone actually drinking beer through it. > :^D The problem is that I have had to debug server code that actually locked a global mutex ala: for (;;) { io_complete& io = wait_for_io(INFINITE); lock(); io.foobar(); unlock(); } Oh shit.