Dave Sapone (dave++at++degas.autometric.com)
Thu, 6 Jul 1995 20:40:36 -0400
Each program calls pfInit() prior to doing dataPool stuff which is the same
exact function call. basically (the usual):
init ( )
{
if ( ! dataPool )
{
if ( ! ( dataPool = pfAttachDPool ( name ) ) )
{
if ( ! ( dataPool = pfNewDPool ( size, name ) ) )
{
/* error */
}
else
{
/* allocate data region */
ptr = (void *) pfDPoolAlloc ( dataPool, size, ID );
}
}
else
{
ptr = (void *) pfDPoolFind ( dataPool, ID );
}
}
}
No one calls pfReleaseDPool().
The first app to call the init() function creates the dataPool. Some apps can
attach to it and some fail at pfAttachDPool().
Does anyone have a clue ?
Thanks loads.
--
-----------------------------------------------------------------------------
dave sapone // dave++at++autometric.com
-----------------------------------------------------------------------------
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:39 PDT