sem_info semInfo;
int32 handshakes; status_t err = B_OK;
PR_IMPLEMENT(PRStatus)    PR_NotifyAllCondVar (PRCondVar *cvar){    sem_info semInfo;    if( get_sem_info( cvar->isem, &semInfo ) != B_NO_ERROR )	return PR_FAILURE;    if( release_sem_etc( cvar->isem, semInfo.count, 0 ) != B_NO_ERROR )	return PR_FAILURE;    return PR_SUCCESS;}