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:
warren%netscape.com 2000-03-05 10:20:48 +00:00
parent 7113f6e49d
commit 7a775f0c48

View File

@ -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)