commsfwutils/commsbufs/src/systemsharedbufs.cpp
branchGCC_SURGE
changeset 54 64e1813db64f
parent 0 dfb7c4ff071f
equal deleted inserted replaced
53:a27f52f37af3 54:64e1813db64f
    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             {