commsfwutils/commsbufs/src/systemsharedbufs.cpp
branchGCC_SURGE
changeset 39 f0e296d9d1c1
parent 0 dfb7c4ff071f
equal deleted inserted replaced
38:e36c41247a1d 39:f0e296d9d1c1
    26     CSystemSharedBufPool* self = NULL;
    26     CSystemSharedBufPool* self = NULL;
    27 #ifdef SYMBIAN_ZEROCOPY_BUF_FREELIST
    27 #ifdef SYMBIAN_ZEROCOPY_BUF_FREELIST
    28     // We take the freelist count as 50% of the ceiling size.
    28     // We take the freelist count as 50% of the ceiling size.
    29     const TInt KFreeListCount = aCreateInfo.iCeiling / 2; 
    29     const TInt KFreeListCount = aCreateInfo.iCeiling / 2; 
    30     self = new CSystemSharedBufPool(aPondIntf, aCreateInfo.iBufSize, KFreeListCount);
    30     self = new CSystemSharedBufPool(aPondIntf, aCreateInfo.iBufSize, KFreeListCount);
    31 #elif
    31 #else 
    32     self = new CSystemSharedBufPool(aPondIntf, aCreateInfo.iBufSize);
    32  self = new CSystemSharedBufPool(aPondIntf, aCreateInfo.iBufSize);
    33 #endif // SYMBIAN_ZEROCOPY_BUF_FREELIST
    33 #endif // SYMBIAN_ZEROCOPY_BUF_FREELIST
    34     if(self)
    34     if(self)
    35         {
    35         {
    36         if(self->Construct(aCreateInfo) != KErrNone)
    36         if(self->Construct(aCreateInfo) != KErrNone)
    37             {
    37             {