Hi, On 2023-03-31 02:44:33 -0700, Jeff Davis wrote: > From 2f05cab9012950ae9290fccbb6366d50fc01553e Mon Sep 17 00:00:00 2001 > From: Jeff Davis <j...@j-davis.com> > Date: Wed, 1 Mar 2023 20:02:42 -0800 > Subject: [PATCH v2] Introduce ConditionVariableEventSleep(). > > The new API takes a WaitEventSet which can include socket events. The > WaitEventSet must have been created by > ConditionVariableWaitSetCreate(), another new function, so that it > includes the wait events necessary for a condition variable.
Why not offer a function to add a CV to a WES? It seems somehow odd to require going through condition_variable.c to create a WES. Greetings, Andres Freund