printf("running %d on thread %x\n", mNum, thread);
printf("running %d on thread %x\n", mNum, thread.get());
    NS_IMETHOD Run() {        nsCOMPtr<nsIThread> thread;        nsresult rv = nsIThread::GetCurrent(getter_AddRefs(thread));        if (NS_FAILED(rv)) {            printf("failed to get current thread\n");            return rv;        }        printf("running %d on thread %x\n", mNum, thread);        // if we don't do something slow, we'll never see the other        // worker threads run        PR_Sleep(PR_MillisecondsToInterval(100));        return rv;    }