mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-02 14:30:43 +00:00
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
This commit is contained in:
parent
7113f6e49d
commit
7a775f0c48
@ -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