while (*info->tcount == 0)
if (*info->tcount == 0)
SharedCondVarThread(void *_info){    threadinfo *info = (threadinfo *)_info;    PRInt32 index;    for (index=0; index<info->loops; index++) {        PR_Lock(info->lock);        while (*info->tcount == 0)            PR_WaitCondVar(info->cvar, info->timeout);#if 0        printf("shared thread %ld notified in loop %ld\n", info->id, index);#endif        (*info->tcount)--;        PR_Unlock(info->lock);        PR_Lock(info->exitlock);        (*info->exitcount)++;        PR_NotifyCondVar(info->exitcvar);        PR_Unlock(info->exitlock);    }#if 0    printf("shared thread %ld terminating\n", info->id);#endif}