doc: add Meson coding style to contributors guide
[dpdk.git] / lib / librte_vhost / fd_man.h
index 76a42fb..3ab5cfd 100644 (file)
@@ -24,6 +24,7 @@ struct fdset {
        struct pollfd rwfds[MAX_FDS];
        struct fdentry fd[MAX_FDS];
        pthread_mutex_t fd_mutex;
+       pthread_mutex_t fd_pooling_mutex;
        int num;        /* current fd number of this fdset */
 
        union pipefds {
@@ -44,6 +45,7 @@ int fdset_add(struct fdset *pfdset, int fd,
        fd_cb rcb, fd_cb wcb, void *dat);
 
 void *fdset_del(struct fdset *pfdset, int fd);
+int fdset_try_del(struct fdset *pfdset, int fd);
 
 void *fdset_event_dispatch(void *arg);