1.1 --- a/os/kernelhwsrv/kernel/eka/nkern/win32/vectors.cpp Fri Jun 15 03:10:57 2012 +0200
1.2 +++ b/os/kernelhwsrv/kernel/eka/nkern/win32/vectors.cpp Tue Jun 10 14:32:02 2014 +0200
1.3 @@ -29,15 +29,9 @@
1.4 EXPORT_C TInt __fastcall Dispatch(TInt aFunction, TInt* aArgs)
1.5 {
1.6 NThread& me = *static_cast<NThread*>(TheScheduler.iCurrentThread);
1.7 - //SL: Can't figure out why this fails at times
1.8 + //SL: If you panic here its probably because you forgot to Emulator::Lock() when doing system calls.
1.9 + //@see: http://www.developer.nokia.com/Community/Wiki/Symbian_OS_Internals/03._Threads,_Processes_and_Libraries#Forced_exit_-_diverting_threads
1.10 __NK_ASSERT_ALWAYS(!me.iDiverted);
1.11 -
1.12 - /*
1.13 - if (me.iDiverted)
1.14 - {
1.15 - __KTRACE_OPT(KSCHED,DEBUGPRINT("WARNING: not diverted!"));
1.16 - }
1.17 - */
1.18
1.19 EnterKernel();
1.20