Deutsch English Français Italiano |
<v0stev$325kv$2@raubtier-asyl.eternal-september.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!feeds.phibee-telecom.net!news.mixmin.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 10:11:14 +0200 Organization: A noiseless patient Spider Lines: 17 Message-ID: <v0stev$325kv$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> <v0shru$2vrco$1@raubtier-asyl.eternal-september.org> <v0spra$31ds4$2@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 10:11:11 +0200 (CEST) Injection-Info: raubtier-asyl.eternal-september.org; posting-host="d66863e752376af43732745fa2825b15"; logging-data="3217055"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+JEGZ9kosiu1If6pLQaI20fPDYlXKESu0=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:AofUt6qfDtbrbNpomTCZ8cjjYvU= In-Reply-To: <v0spra$31ds4$2@dont-email.me> Content-Language: de-DE Bytes: 1863 Am 01.05.2024 um 09:09 schrieb Lawrence D'Oliveiro: > On Wed, 1 May 2024 06:53:21 +0200, Bonita Montero wrote: > >> Am 29.04.2024 um 22:29 schrieb Lawrence D'Oliveiro: >> >>> We use poll(2) or epoll(2) nowadays. select(2) is antiquated. >> >> Use Boost.ASIO. > > And what does that use? Boost.ASIO can even use io_uring if it is available. And it has a callback-interface with function-objects which are called on completion; that's much more convenient than to have io_uring manually. Check annas-archive.org for the Boost.ASIO book fom Apress.