]> git.ipfire.org Git - thirdparty/curl.git/commit
socketpair: cleaner interface
authorStefan Eissing <stefan@eissing.org>
Fri, 16 Jan 2026 12:59:03 +0000 (13:59 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 16 Jan 2026 15:43:43 +0000 (16:43 +0100)
commit6c8956c1cbf5cffcd2fd4571cf277e2eec280578
treef463ba5fa89211828480a36a86c9b9f55cb2c403
parent1a57302d1acaab3432d31435f1f42f6290594304
socketpair: cleaner interface

Declutter the ifdefs in socketpair.h. Introduce Curl_wakeup_*()
function that encapsulate the details about how the socketpair
is implemented.

This moves the EVENTFD specials from the using code into socketpair
implemenatation, avoiding duplications in three places.

Closes #20340
lib/asyn-thrdd.c
lib/multi.c
lib/socketpair.c
lib/socketpair.h