vcl: add flag to track need for locks in vls 02/43102/3
authorFlorin Coras <[email protected]>
Fri, 6 Jun 2025 20:18:09 +0000 (13:18 -0700)
committerFlorin Coras <[email protected]>
Mon, 9 Jun 2025 23:41:00 +0000 (16:41 -0700)
commit56c1824202e3c919674574b1601e5306c747468d
tree773ec1e40b418f3fd741f8993aa4138fc1e52488
parent409b66bd16218f118d02bfdaaf77ae11b2c43a95
vcl: add flag to track need for locks in vls

Once an mt app with a single vcl worker adds more than one pthread,
set flag that locks are needed.

Avoids issues if in a 2 thread app, a pthread disappears while the other
holds vls locks.

Type: improvement

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