make things work better

git-svn-id: svn://10.0.0.236/branches/THREADS_20060213_BRANCH@190227 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
darin%meer.net
2006-02-16 19:36:31 +00:00
parent 2789a9a654
commit 6d38faff99
41 changed files with 448 additions and 669 deletions

View File

@@ -92,7 +92,7 @@ nsThreadManager::Init()
void
nsThreadManager::Shutdown()
{
NS_ASSERTION(IsMainThread(), "shutdown not called from main thread");
NS_ASSERTION(NS_IsMainThread(), "shutdown not called from main thread");
// We move the threads from the hashtable to a list, so that we avoid
// holding the hashtable lock while calling nsIThread::Shutdown.