We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 817036b commit 3099438Copy full SHA for 3099438
lld/MachO/Driver.cpp
@@ -297,8 +297,8 @@ using DeferredFiles = std::vector<DeferredFile>;
297
// the process is not stalled waiting on disk buffer i/o.
298
void multiThreadedPageInBackground(const DeferredFiles &deferred) {
299
static size_t pageSize = Process::getPageSizeEstimate(), totalBytes;
300
+ static std::mutex mutex;
301
size_t index = 0;
- std::mutex mutex;
302
303
parallelFor(0, config->readThreads, [&](size_t I) {
304
while (true) {
0 commit comments