Skip to content

Commit

Permalink
Small fix on ParallelExpression class implementation.
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed Nov 29, 2024
1 parent 2139f68 commit b7ca50e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/n8/ast/expression/ParallelExpression.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ DynamicObject ParallelExpression::visit(SymbolTable& symbols) {
expr = std::move(this->expression),
sym = &symbols
]() mutable {
std::mutex mtx;
thread_local std::mutex mtx;

try {
mtx.lock();
Expand Down

0 comments on commit b7ca50e

Please sign in to comment.