kernel/eka/include/kernel/kernel.h
branchRCL_3
changeset 26 c734af59ce98
parent 19 4a8fed1c0ef6
child 28 5b5d147c7838
--- a/kernel/eka/include/kernel/kernel.h	Tue Apr 27 18:02:57 2010 +0300
+++ b/kernel/eka/include/kernel/kernel.h	Tue May 11 17:28:22 2010 +0300
@@ -257,8 +257,8 @@
 const TUint8 KMutexOrdRamAlloc			= 0x04; /**< @internalComponent */
 #if defined(__MEMMODEL_FLEXIBLE__)
 const TUint8 KMutexOrdSyncPhysMem		= 0x03; /**< @internalComponent */
+const TUint8 KMutexOrdPageOut			= 0x02; /**< @internalComponent */
 #endif
-const TUint8 KMutexOrdPageOut			= 0x02; /**< @internalComponent */
 const TUint8 KMutexOrdResourceManager	= 0x01; /**< @internalComponent */
 
 
@@ -2838,6 +2838,12 @@
 	inline virtual TInt DeleteNotify(TThreadMessage* aReq,TUint aOffset,TUint aSize);
 
 	/**
+	Return the lock that should be used to synchronise calculation of the idle/busy state and
+	subsequent calls to #NotifyIdle and #NotifyBusy.
+	*/
+	IMPORT_C NFastMutex* NotificationLock();
+	
+	/**
 	Called by the paging device to notify the kernel that the device has just become idle and is not
 	currently processing any requests.