fixes for various sun pro compiler warnings
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user