summaryrefslogtreecommitdiffstats
path: root/elaborate.h
diff options
context:
space:
mode:
Diffstat (limited to 'elaborate.h')
-rw-r--r--elaborate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/elaborate.h b/elaborate.h
index 8c3a6869..9ad3c038 100644
--- a/elaborate.h
+++ b/elaborate.h
@@ -125,6 +125,9 @@ public:
static void emit_common_header (translator_output* o);
// from c_unparser::emit_common_header
// XXX: probably can move this stuff to a probe_group::emit_module_decls
+
+ virtual bool needs_global_locks () { return true; }
+ // by default, probes need locks around global variables
};
// ------------------------------------------------------------------------