Deutsch   English   Français   Italiano  
<v0v8u3$3m7rm$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!feeds.phibee-telecom.net!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Lawrence D'Oliveiro <ldo@nz.invalid>
Newsgroups: comp.lang.c++,comp.lang.c
Subject: Re: Threads across programming languages
Date: Thu, 2 May 2024 05:39:15 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <v0v8u3$3m7rm$1@dont-email.me>
References: <GIL-20240429161553@ram.dialup.fu-berlin.de>
	<v0ogum$1rc5n$1@dont-email.me> <v0ovvl$1ur12$4@dont-email.me>
	<v0p06i$1uq6q$5@dont-email.me>
	<v0shti$2vrco$2@raubtier-asyl.eternal-september.org>
	<v0spsh$31ds4$3@dont-email.me>
	<v0stic$325kv$3@raubtier-asyl.eternal-september.org>
	<v0svtn$32o8h$1@dont-email.me>
	<v0t091$32qj6$1@raubtier-asyl.eternal-september.org>
	<v0u90h$3c1r5$4@dont-email.me> <v0v7rf$3lu04$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 02 May 2024 07:39:15 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="871317f39d0297e5333fe0a9119501c9";
	logging-data="3874678"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18faVNY22J3wjM7MYqDnZ1L"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:+Y1KDMZQTdb9Rl/8baE8REmnX+M=
Bytes: 1849

On Wed, 1 May 2024 22:20:47 -0700, Chris M. Thomasson wrote:

> On 5/1/2024 1:34 PM, Lawrence D'Oliveiro wrote:
>
>> Remember, we’re talking about maximizing I/O throughput here, so CPU is
>> not the bottleneck.
> 
> It can be if your thread synchronization scheme is sub par.

Another reason to avoid threads. So long as your async tasks have an await 
call somewhere in their main loops, that should be sufficient to avoid 
most bottlenecks.