equal
deleted
inserted
replaced
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) |