--- a/kerneltest/e32test/misc/t_destruct_slave.cpp Wed Oct 20 13:58:28 2010 +0100
+++ b/kerneltest/e32test/misc/t_destruct_slave.cpp Tue Nov 02 15:29:23 2010 +0000
@@ -61,6 +61,7 @@
// Open handle on dynamic DLL in this thread
RLibrary library;
test_KErrNone(library.Load(KDynamicDll));
+ RThread().Rendezvous(KErrNone);
for (;;)
;
}
@@ -250,7 +251,11 @@
{
RThread childThread;
test_KErrNone(childThread.Create(_L("ChildThread"), LoopThread, 4096, NULL, (TAny*)type));
+ TRequestStatus status;
+ childThread.Rendezvous(status);
childThread.Resume();
+ User::WaitForRequest(status);
+ test_KErrNone(status.Int());
childThread.Close();
test_KErrNone(messageQueue.Send(EMessagePreDestruct));
}