kerneltest/e32test/mmu/d_sharedchunk.h
changeset 4 56f325a607ea
parent 0 a41df078684a
--- a/kerneltest/e32test/mmu/d_sharedchunk.h	Mon Dec 21 16:14:42 2009 +0000
+++ b/kerneltest/e32test/mmu/d_sharedchunk.h	Wed Dec 23 11:43:31 2009 +0000
@@ -77,8 +77,8 @@
 		{ return DoCreate(KSharedChunkLddName,TVersion(),KNullUnit,NULL,NULL,EOwnerProcess,ETrue); }
 	inline TInt CreateChunk(TInt aSize, TAny** aKernelAddress=0)
 		{ return DoControl(ECreateChunk,(TAny*)aSize,aKernelAddress); }
-	inline TInt GetChunkHandle(RChunk& aChunk)
-		{ return aChunk.SetReturnedHandle(DoControl(EGetChunkHandle)); }
+	inline TInt GetChunkHandle(RChunk& aChunk, TBool aIsThreadLocal=ETrue)
+		{ return aChunk.SetReturnedHandle(DoControl(EGetChunkHandle,(TAny*)aIsThreadLocal)); }
 	inline TInt CommitMemory(TInt aOffset, TInt aSize)
 		{ return DoControl(ECommitMemory,(TAny*)aOffset,(TAny*)aSize); }
 	inline TInt CloseChunk()