kerneltest/e32test/dll/t_tls.cpp
changeset 293 0659d0e1a03c
parent 0 a41df078684a
child 296 94f2adf59133
equal deleted inserted replaced
291:206a6eaaeb71 293:0659d0e1a03c
     1 // Copyright (c) 1996-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 1996-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of the License "Eclipse Public License v1.0"
     4 // under the terms of the License "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
   681 	test.End();
   681 	test.End();
   682 	}
   682 	}
   683 
   683 
   684 TInt E32Main()
   684 TInt E32Main()
   685 	{
   685 	{
       
   686 	COMPLETE_POST_BOOT_SYSTEM_TASKS();
   686 
   687 
   687 	test.Title();
   688 	test.Title();
   688 	test.Start(_L("Test"));
   689 	test.Start(_L("Test"));
   689 
       
   690 	// Turn off lazy dll unloading
       
   691 	RLoader l;
       
   692 	test(l.Connect()==KErrNone);
       
   693 	test(l.CancelLazyDllUnload()==KErrNone);
       
   694 	l.Close();
       
   695 
   690 
   696 	Test();
   691 	Test();
   697 	test.Next(_L("Thread Test"));
   692 	test.Next(_L("Thread Test"));
   698 
   693 
   699 	HEAP_MARK;
   694 	HEAP_MARK;