From 0ef8ef2b474473b13de2cee0165b424e79e4e363 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Fri, 18 Jan 2019 08:37:13 -0800 Subject: vls: multi-process and multi-threaded apps improvements - More fine tuning for multi-process applications. - Experimental support for multi-thread apps. This is meant for app whose threads are not vcl workers and the sessions are shared between them. Change-Id: Ie07651da5f2cdcf39f5dead5431f50ad39cf3f74 Signed-off-by: Florin Coras --- src/svm/svm_fifo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/svm/svm_fifo.h') diff --git a/src/svm/svm_fifo.h b/src/svm/svm_fifo.h index b0d38ed4f0a..07614b4dac9 100644 --- a/src/svm/svm_fifo.h +++ b/src/svm/svm_fifo.h @@ -88,7 +88,7 @@ typedef struct _svm_fifo u32 ooos_newest; /**< Last segment to have been updated */ struct _svm_fifo *next; /**< next in freelist/active chain */ struct _svm_fifo *prev; /**< prev in active chain */ - u8 n_subscribers; + volatile u8 n_subscribers; u8 subscribers[SVM_FIFO_MAX_EVT_SUBSCRIBERS]; #if SVM_FIFO_TRACE -- cgit 1.2.3-korg