equal
deleted
inserted
replaced
1405 EConstructed =0x04, |
1405 EConstructed =0x04, |
1406 EMemoryNotOwned =0x08, |
1406 EMemoryNotOwned =0x08, |
1407 ETrustedChunk =0x10, |
1407 ETrustedChunk =0x10, |
1408 EDataPaged =0x20, // Set when the chunk is data paged. |
1408 EDataPaged =0x20, // Set when the chunk is data paged. |
1409 ECache =0x40, |
1409 ECache =0x40, |
1410 EChunkAttributesMask = 0x7f, |
1410 EReadOnly =0x80, |
|
1411 EChunkAttributesMask = 0xff, |
1411 }; |
1412 }; |
1412 |
1413 |
1413 enum TCommitType |
1414 enum TCommitType |
1414 { |
1415 { |
1415 ECommitDiscontiguous = 0, |
1416 ECommitDiscontiguous = 0, |
1762 inline TBool IsClosing(); |
1763 inline TBool IsClosing(); |
1763 inline void TotalAccessInc() |
1764 inline void TotalAccessInc() |
1764 {__ASSERT_SYSTEM_LOCK; iTotalAccessCount++;}; |
1765 {__ASSERT_SYSTEM_LOCK; iTotalAccessCount++;}; |
1765 TInt TotalAccessDec(); |
1766 TInt TotalAccessDec(); |
1766 TInt TotalAccessDecRel(); |
1767 TInt TotalAccessDecRel(); |
|
1768 void BTracePrime(TInt aCategory); |
1767 |
1769 |
1768 public: |
1770 public: |
1769 // Static methods called from exec handlers |
1771 // Static methods called from exec handlers |
1770 static TInt New(DSession*& aS, TInt aMsgSlots, TInt aMode); |
1772 static TInt New(DSession*& aS, TInt aMsgSlots, TInt aMode); |
1771 static TInt Send(TInt aHandle, TInt aFunction, const TInt* aPtr, TRequestStatus* aStatus); |
1773 static TInt Send(TInt aHandle, TInt aFunction, const TInt* aPtr, TRequestStatus* aStatus); |
1823 virtual TInt RequestUserHandle(DThread* aThread, TOwnerType aType); |
1825 virtual TInt RequestUserHandle(DThread* aThread, TOwnerType aType); |
1824 void Receive(TRequestStatus& aStatus, TAny* aMessage); // aMessage bit 0 = 0 -> RMessage, bit 0 = 1 -> RMessage2 |
1826 void Receive(TRequestStatus& aStatus, TAny* aMessage); // aMessage bit 0 = 0 -> RMessage, bit 0 = 1 -> RMessage2 |
1825 void Cancel(); |
1827 void Cancel(); |
1826 void Accept(RMessageK* aMsg); |
1828 void Accept(RMessageK* aMsg); |
1827 void Deliver(RMessageK* aMsg); |
1829 void Deliver(RMessageK* aMsg); |
|
1830 void BTracePrime(TInt aCategory); |
1828 public: |
1831 public: |
1829 inline TBool IsClosing(); |
1832 inline TBool IsClosing(); |
1830 public: |
1833 public: |
1831 DThread* iOwningThread; // thread which receives messages |
1834 DThread* iOwningThread; // thread which receives messages |
1832 TServerMessage* iMessage; |
1835 TServerMessage* iMessage; |