Re: Questions about new multi-handle notifications

Daniel Stenberg via curl-library <[email protected]> Sat, 8 Nov 2025 10:40:10 +0100 (CET)
Newsgroups gmane.comp.web.curl.library
Message-ID <[email protected]>
On Fri, 7 Nov 2025, Dmitry Karpov via curl-library wrote:

> But if this is the case, then the number of curl_multi_info_read() calls 
> will be essentially the same as when using curl_multi_info_read() in the run 
> loop because all the messages must be consumed explicitly regardless of 
> whether CURLMNOTIFY_INFO_READ notification is used or not.

Without the notifications, you have to poll for messages.

With the notifications, you are told when there is a message to read.

-- 

  / daniel.haxx.se || https://rock-solid.curl.dev
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html