Re: [PATCH v2 07/18] monitor: Simplify fdset and fd removal

2024-05-31 Thread Peter Xu
On Thu, May 23, 2024 at 04:05:37PM -0300, Fabiano Rosas wrote: > Remove fds right away instead of setting the ->removed flag. We don't > need the extra complexity of having a cleanup function reap the > removed entries at a later time. > > Signed-off-by: Fabiano Rosas Reviewed-by: Peter Xu --

[PATCH v2 07/18] monitor: Simplify fdset and fd removal

2024-05-23 Thread Fabiano Rosas
Remove fds right away instead of setting the ->removed flag. We don't need the extra complexity of having a cleanup function reap the removed entries at a later time. Signed-off-by: Fabiano Rosas --- monitor/fds.c | 27 ++- 1 file changed, 6 insertions(+), 21