summaryrefslogtreecommitdiff
path: root/lwis_transaction.h
diff options
context:
space:
mode:
authorTommy Kardach <thomaskardach@google.com>2022-08-10 22:22:53 +0000
committerTommy Kardach <thomaskardach@google.com>2022-08-29 20:52:42 +0000
commit55f206681a94d215cb67eb7315b581cda11f1570 (patch)
treee54c045d32f5ed54c3f56c9a9715a44e80a66749 /lwis_transaction.h
parentf332d56943e076f05d63acab9152baf83fcf9d7a (diff)
downloadlwis-55f206681a94d215cb67eb7315b581cda11f1570.tar.gz
LWIS: Allow level triggered lwis_fence
Bug: 241596640 Test: Unit tests Change-Id: I73aa43b44ca5f164e975429f63fa3b0de99492d2 Signed-off-by: Tommy Kardach <thomaskardach@google.com>
Diffstat (limited to 'lwis_transaction.h')
-rw-r--r--lwis_transaction.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lwis_transaction.h b/lwis_transaction.h
index b73531f..d448328 100644
--- a/lwis_transaction.h
+++ b/lwis_transaction.h
@@ -31,6 +31,10 @@ struct lwis_transaction {
struct list_head process_queue_node;
struct hlist_node pending_map_node;
int signaled_count;
+ /* Flag used for level trigger conditions, indicating the transaction
+ * should be queued right after creation
+ */
+ bool queue_immediately;
/* temporary variables to add supports for mixing events and fences in
* trigger_condition. Will be removed and refacter into an union soon.
*/