求助,Symbian多线程,为什么崩溃了
TInt threadFunction(TAny *aPtr){ // points to iParameter TInt *i = (TInt *)aPtr; TBuf<32> buf; while (true) { console->Write(_L("thread1 running")); User::After(1000); }}LOCAL_C void MainL(){ RThread thread; TInt i = 1; { thread.Create(_L("thread 1"), threadFunction, 4096, KMinHeapSize, 256 * KMinHeapSize, &i); thread.Resume(); } while (true) { console->Write(_L("main thread running\n")); User::After(1000); }}