Bug 639885 - Don't use named Windows kernel objects because they will cause conflicts when running multiple Firefox processes concurrently; r=jrmuizel a=stuart
authorEhsan Akhgari <ehsan@mozilla.com>
Fri, 11 Mar 2011 21:22:38 -0500
changeset 63396 4173c1b88642d3577130394baa3c74640aa05683
parent 63395 021b90fe4b26928ab64445785a7342a7a57884dc
child 63397 d8fe8514d7e69344437c3f525d99bb862adcec4d
push id19189
push usereakhgari@mozilla.com
push dateSat, 12 Mar 2011 02:27:58 +0000
treeherdermozilla-central@4173c1b88642 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjrmuizel, stuart
bugs639885
milestone2.0b13pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 639885 - Don't use named Windows kernel objects because they will cause conflicts when running multiple Firefox processes concurrently; r=jrmuizel a=stuart
gfx/layers/d3d10/ReadbackManagerD3D10.cpp
--- a/gfx/layers/d3d10/ReadbackManagerD3D10.cpp
+++ b/gfx/layers/d3d10/ReadbackManagerD3D10.cpp
@@ -134,18 +134,18 @@ DWORD WINAPI StartTaskThread(void *aMana
 
   return 0;
 }
 
 ReadbackManagerD3D10::ReadbackManagerD3D10()
   : mRefCnt(0)
 {
   ::InitializeCriticalSection(&mTaskMutex);
-  mShutdownEvent = ::CreateEventA(NULL, FALSE, FALSE, "ReadbackShutdownEvent");
-  mTaskSemaphore = ::CreateSemaphoreA(NULL, 0, 1000000, "ReadbackTaskSemaphore");
+  mShutdownEvent = ::CreateEventA(NULL, FALSE, FALSE, NULL);
+  mTaskSemaphore = ::CreateSemaphoreA(NULL, 0, 1000000, NULL);
   mTaskThread = ::CreateThread(NULL, 0, StartTaskThread, this, 0, 0);
 }
 
 ReadbackManagerD3D10::~ReadbackManagerD3D10()
 {
   ::SetEvent(mShutdownEvent);
 
   // This shouldn't take longer than 5 seconds, if it does we're going to choose