vcl: improve vls locking for mt apps 18/43218/6
authorFlorin Coras <[email protected]>
Wed, 18 Jun 2025 01:20:23 +0000 (21:20 -0400)
committerFlorin Coras <[email protected]>
Thu, 19 Jun 2025 21:15:06 +0000 (21:15 +0000)
commitb246b8cfaa197f624d9e08dbefba7218e57e56b8
treeec81bbb8ce0f7773101c2f6475392dcdc9bae0a8
parent20f342ce6e425072cb38eaff92f59a342feab834
vcl: improve vls locking for mt apps

For mt single vcl worker apps, only guard vcl session pool, as opposed
to vls pool, to allow workers to perform updates.

Also convert spool mutex into rwlock and make sure all operations that
interact with vcl session pools grab at least the reader lock.

Type: improvement

Change-Id: Ief41912bc84881772d2279cd84dabb983a91b4cb
Signed-off-by: Florin Coras <[email protected]>
src/vcl/vcl_locked.c
src/vcl/vppcom.c