kernel/eka/euser/us_exec.cpp
changeset 271 dc268b18d709
parent 245 647ab20fee2e
equal deleted inserted replaced
269:d57b86b1867a 271:dc268b18d709
  4594 Gets the Id of this thread.
  4594 Gets the Id of this thread.
  4595 
  4595 
  4596 @return The Id of this thread.
  4596 @return The Id of this thread.
  4597 */
  4597 */
  4598 	{
  4598 	{
       
  4599 #ifdef __USERSIDE_THREAD_DATA__
       
  4600 	if(iHandle==KCurrentThreadHandle)
       
  4601 		return TThreadId( LocalThreadData()->iThreadId );
       
  4602 #endif // __USERSIDE_THREAD_DATA__
  4599 
  4603 
  4600 	return TThreadId( (TUint)Exec::ThreadId(iHandle) );
  4604 	return TThreadId( (TUint)Exec::ThreadId(iHandle) );
  4601 	}
  4605 	}
  4602 
  4606 
  4603 
  4607