kerneltest/e32test/benchmark/d32bm.h
branchRCL_3
changeset 39 2bb754abd467
parent 0 a41df078684a
equal deleted inserted replaced
36:bbf8bed59bcb 39:2bb754abd467
   225  * RBMDriver class defines the user-side API to kernel-side utility operations.
   225  * RBMDriver class defines the user-side API to kernel-side utility operations.
   226  *
   226  *
   227  * The operations are implmented as <code>KBMLdName</code> logical device by <code>KBMLddFileName</code>
   227  * The operations are implmented as <code>KBMLdName</code> logical device by <code>KBMLddFileName</code>
   228  * logical device driver DLL.
   228  * logical device driver DLL.
   229  *
   229  *
   230  * The API enables to change the absolute prioirty of a thread. 
   230  * The API enables to change the absolute priority of a thread. 
   231  */
   231  */
   232 class RBMDriver : public RBusLogicalChannel
   232 class RBMDriver : public RBusLogicalChannel
   233 	{
   233 	{
   234 public:
   234 public:
   235 #ifndef __KERNEL_MODE__
   235 #ifndef __KERNEL_MODE__
   241 	TInt Open()
   241 	TInt Open()
   242 		{
   242 		{
   243 		return DoCreate(KBMLdName, TVersion(1,0,1), KNullUnit, &KBMPdName, NULL);
   243 		return DoCreate(KBMLdName, TVersion(1,0,1), KNullUnit, &KBMPdName, NULL);
   244 		}
   244 		}
   245 	/**
   245 	/**
   246 	 * Change the absolute prioirty of a thread.
   246 	 * Change the absolute priority of a thread.
   247 	 *
   247 	 *
   248 	 * @param aThread a handle to the target thread
   248 	 * @param aThread a handle to the target thread
   249 	 * @param aNewPrio a new absolute priority for the target thread
   249 	 * @param aNewPrio a new absolute priority for the target thread
   250 	 *
   250 	 *
   251 	 * @retval aOldPrio the old absolute priority of the target thread
   251 	 * @retval aOldPrio the old absolute priority of the target thread