Frédéric Lécaille 81815a9a83 MEDIUM: map/acl: Replace map/acl spin lock by a read/write lock.
Replace ->lock type of pat_ref struct by HA_RWLOCK_T.
Replace all calls to HA_SPIN_LOCK() (resp. HA_SPIN_UNLOCK()) by HA_RWLOCK_WRLOCK()
(resp. HA_RWLOCK_WRUNLOCK()) when a write access is required.
There is only one read access which is needed. This is in the "show map" command
callback, cli_io_handler_map_lookup() where a HA_SPIN_LOCK() call is replaced
by HA_RWLOCK_RDLOCK() (resp. HA_SPIN_UNLOCK() by HA_RWLOCK_RDUNLOCK).
Replace HA_SPIN_INIT() calls by HA_RWLOCK_INIT() calls.
2023-08-25 15:42:03 +02:00
..
2023-08-01 10:49:06 +02:00
…
2023-01-27 15:18:59 +01:00
…
…
…
…
…
…
…
…
2023-04-13 16:57:51 +02:00
…
…
…
…
…
…
…
…
…
2021-11-18 10:50:58 +01:00
…
…
…
…
2022-04-22 15:45:47 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
2022-11-29 15:14:39 +01:00
…
…
…
…
…
…
…
…
…
…
…
2023-05-04 18:09:50 +02:00
…
…
2023-05-31 16:29:19 +02:00
…
…