fixes for various sun pro compiler warnings

This commit is contained in:
Jeff Hill
2000-05-03 00:47:16 +00:00
parent 33f8e63c21
commit b8c7f8f8b6
16 changed files with 162 additions and 125 deletions

View File

@@ -98,7 +98,7 @@ void syncGroupNotify::completionNotify ( unsigned type, unsigned long count, con
}
}
void syncGroupNotify::show (unsigned level) const
void syncGroupNotify::show ( unsigned /* level */ ) const
{
printf ( "pending sg op: pVal=%p, magic=%u seqNo=%lu sg=%p\n",
this->pValue, this->magic, this->seqNo, &this->sg);
@@ -117,6 +117,16 @@ void syncGroupNotify::exceptionNotify ( int status, const char *pContext, unsign
type, count, pContext);
}
void syncGroupNotify::lock ()
{
this->sg.mutex.lock ();
}
void syncGroupNotify::unlock ()
{
this->sg.mutex.unlock ();
}
void * syncGroupNotify::operator new (size_t size)
{
return syncGroupNotify::freeList.allocate ( size );