void DOMStorageDBThread::ThreadFunc(void* aArg) { PR_SetCurrentThreadName("localStorage DB"); DOMStorageDBThread* thread = static_cast<DOMStorageDBThread*>(aArg); thread->ThreadFunc(); }
void DOMStorageDBThread::ThreadFunc(void* aArg) { PR_SetCurrentThreadName("localStorage DB"); mozilla::IOInterposer::RegisterCurrentThread(); DOMStorageDBThread* thread = static_cast<DOMStorageDBThread*>(aArg); thread->ThreadFunc(); mozilla::IOInterposer::UnregisterCurrentThread(); }