many structural improvements

This commit is contained in:
Jeff Hill
2002-04-25 18:21:20 +00:00
parent 42f634ebbf
commit 420ad02d89
8 changed files with 700 additions and 326 deletions

View File

@@ -28,6 +28,8 @@
*
*/
#include <stdexcept>
#define epicsAssertAuthor "Jeff Hill johill@lanl.gov"
#define epicsExportSharedSymbols
@@ -103,10 +105,18 @@ void * syncGroupWriteNotify::operator new ( size_t size,
return freeList.allocate ( size );
}
#if ! defined ( NO_PLACEMENT_DELETE )
void syncGroupWriteNotify::operator delete ( void *pCadaver, size_t size,
#if defined ( CASG_PLACEMENT_DELETE )
void syncGroupWriteNotify::operator delete ( void *pCadaver,
tsFreeList < class syncGroupWriteNotify, 128, epicsMutexNOOP > &freeList )
{
freeList.release ( pCadaver, size );
freeList.release ( pCadaver, sizeof ( syncGroupWriteNotify ) );
}
#endif
# if defined (_MSC_VER) && _MSC_VER == 1300
void syncGroupWriteNotify::operator delete ( void * ) // avoid visual c++ 7 bug
{
throw std::logic_error ( "_MSC_VER == 1300 bogus stub called?" );
}
# endif