Back to index

lightning-sunbird  0.9+nobinonly
Functions
nsIOThreadPool.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

NS_METHOD NS_HIDDEN net_NewIOThreadPool (nsISupports *outer, REFNSIID iid, void **result)
 XPCOM constructor for nsIOThreadPool.

Function Documentation

NS_METHOD NS_HIDDEN net_NewIOThreadPool ( nsISupports *  outer,
REFNSIID  iid,
void **  result 
)

XPCOM constructor for nsIOThreadPool.

Definition at line 299 of file nsIOThreadPool.cpp.

{
    nsIOThreadPool *pool = new nsIOThreadPool();
    if (!pool)
        return NS_ERROR_OUT_OF_MEMORY;
    NS_ADDREF(pool);
    nsresult rv = pool->Init();
    if (NS_SUCCEEDED(rv))
        rv = pool->QueryInterface(iid, result);
    NS_RELEASE(pool);
    return rv;
}

Here is the call graph for this function: