Deutsch English Français Italiano |
<v0pbg9$21isb$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> Newsgroups: comp.lang.c++,comp.lang.c Subject: Re: Threads across programming languages Date: Mon, 29 Apr 2024 16:46:17 -0700 Organization: A noiseless patient Spider Lines: 17 Message-ID: <v0pbg9$21isb$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> <v0p7mj$20lfm$3@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 30 Apr 2024 01:46:18 +0200 (CEST) Injection-Info: dont-email.me; posting-host="59e3cacb37dde286cbf606801e5bc80d"; logging-data="2149259"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/RCYbOb25+33qVJbYl+7l+3ffWHtLKTl8=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:PPcUK0ix3q7F67dJqVThSpw2UIA= Content-Language: en-US In-Reply-To: <v0p7mj$20lfm$3@dont-email.me> Bytes: 1713 On 4/29/2024 3:41 PM, Lawrence D'Oliveiro wrote: > On Mon, 29 Apr 2024 13:33:22 -0700, Chris M. Thomasson wrote: > >> 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. > > AIO is for block I/O. Try io_uring instead. Afaict, AIO is analogous to IOCP.