* Find deleted fd entries and remove them */
| 53 | * Find deleted fd entries and remove them |
| 54 | */ |
| 55 | static void |
| 56 | fdset_shrink(struct fdset *pfdset) |
| 57 | { |
| 58 | pthread_mutex_lock(&pfdset->fd_mutex); |
| 59 | fdset_shrink_nolock(pfdset); |
| 60 | pthread_mutex_unlock(&pfdset->fd_mutex); |
| 61 | } |
| 62 | |
| 63 | /** |
| 64 | * Returns the index in the fdset for a given fd. |
no test coverage detected