Bug 21556: Making linux be thread-safe. Trying a little experiment here to see if mac is picking up the new export from xpcom -- easy to back out if it fails. a=jar
git-svn-id: svn://10.0.0.236/trunk@62235 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
6b2a8fdb04
commit
326a2bb610
@ -50,6 +50,7 @@ nsFileTransportService::Init()
|
||||
rv = NS_NewThreadPool(getter_AddRefs(mPool), NS_FILE_TRANSPORT_WORKER_COUNT,
|
||||
NS_FILE_TRANSPORT_WORKER_COUNT,
|
||||
NS_FILE_TRANSPORT_WORKER_STACK_SIZE);
|
||||
static void* th = NS_CurrentThread(); // XXX experiment -- is this exported on mac?
|
||||
return rv;
|
||||
}
|
||||
|
||||
@ -58,7 +59,7 @@ nsFileTransportService::~nsFileTransportService()
|
||||
mPool->Shutdown();
|
||||
}
|
||||
|
||||
NS_IMPL_ISUPPORTS(nsFileTransportService, NS_GET_IID(nsFileTransportService));
|
||||
NS_IMPL_ISUPPORTS1(nsFileTransportService, nsFileTransportService);
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsFileTransportService::Create(nsISupports *aOuter, REFNSIID aIID, void **aResult)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user