Deutsch   English   Français   Italiano  
<v0shti$2vrco$2@raubtier-asyl.eternal-september.org>

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

Path: ...!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 <Bonita.Montero@gmail.com>
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: <v0shti$2vrco$2@raubtier-asyl.eternal-september.org>
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>
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: <v0p06i$1uq6q$5@dont-email.me>
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.