Home | History | Annotate | Download | only in scripts

Lines Matching defs:lock_guard

404     # Insert a lock_guard line
405 def lock_guard(self, indent):
406 return '%sstd::lock_guard<std::mutex> lock(global_lock);\n' % indent
538 create_ndo_code += '%sstd::lock_guard<std::mutex> lock(global_lock);\n' % (indent)
767 param_pre_code = '%s{\n%s%s%s%s}\n' % (' ', indent, self.lock_guard(indent), param_pre_code, indent)