Skip to content

Commit 3099438

Browse files
committed
Semms to make a difference.
1 parent 817036b commit 3099438

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lld/MachO/Driver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,8 @@ using DeferredFiles = std::vector<DeferredFile>;
297297
// the process is not stalled waiting on disk buffer i/o.
298298
void multiThreadedPageInBackground(const DeferredFiles &deferred) {
299299
static size_t pageSize = Process::getPageSizeEstimate(), totalBytes;
300+
static std::mutex mutex;
300301
size_t index = 0;
301-
std::mutex mutex;
302302

303303
parallelFor(0, config->readThreads, [&](size_t I) {
304304
while (true) {

0 commit comments

Comments
 (0)