mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-25 15:03:03 +00:00
CLEANUP: fd: remove unused fd_set_running_excl()
This one is no longer used and was the origin of the previously mentioned deadlock.
This commit is contained in:
parent
2c3f9818e8
commit
6cf13119e2
@ -341,13 +341,6 @@ static inline int fd_set_running(int fd)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void fd_set_running_excl(int fd)
|
|
||||||
{
|
|
||||||
unsigned long old_mask = 0;
|
|
||||||
while (!_HA_ATOMIC_CAS(&fdtab[fd].running_mask, &old_mask, tid_bit))
|
|
||||||
old_mask = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* remove tid_bit from the fd's running mask and returns the bits that remain
|
/* remove tid_bit from the fd's running mask and returns the bits that remain
|
||||||
* after the atomic operation.
|
* after the atomic operation.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user