--- a/kerneltest/e32test/mmu/d_sharedchunk.cpp Mon Dec 21 16:14:42 2009 +0000
+++ b/kerneltest/e32test/mmu/d_sharedchunk.cpp Wed Dec 23 11:43:31 2009 +0000
@@ -474,11 +474,18 @@
case RSharedChunkLdd::EGetChunkHandle:
{
+ TInt isThreadLocal = (TInt)a1;
+ TOwnerType ownertype;
+ if (isThreadLocal)
+ ownertype = EOwnerThread;
+ else
+ ownertype = EOwnerProcess;
+
NKern::ThreadEnterCS();
DChunk* chunk=OpenChunk();
if(chunk)
{
- r = Kern::MakeHandleAndOpen(0,chunk);
+ r = Kern::MakeHandleAndOpen(0,chunk,ownertype);
chunk->Close(0);
}
else