зеркало из https://github.com/mozilla/gecko-dev.git
Bustage fix for bug 1059479, CLOSED TREE
This commit is contained in:
Родитель
df78cc41bb
Коммит
d3655aff84
|
@ -189,7 +189,7 @@ void ThreadData::RunOnAllThreads(void (*function)()) {
|
||||||
ThreadSafeDownCounter* counter =
|
ThreadSafeDownCounter* counter =
|
||||||
new ThreadSafeDownCounter(message_loops.size() + 1); // Extra one for us!
|
new ThreadSafeDownCounter(message_loops.size() + 1); // Extra one for us!
|
||||||
|
|
||||||
HANDLE completion_handle = CreateEvent(NULL, false, false, NULL);
|
HANDLE completion_handle = CreateEventW(NULL, false, false, NULL);
|
||||||
// Tell all other threads to run.
|
// Tell all other threads to run.
|
||||||
for (size_t i = 0; i < message_loops.size(); ++i)
|
for (size_t i = 0; i < message_loops.size(); ++i)
|
||||||
message_loops[i]->PostTask(FROM_HERE,
|
message_loops[i]->PostTask(FROM_HERE,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче