kernel/eka/euser/epoc/arm/uc_exe.cpp
branchGCC_SURGE
changeset 246 4a60358e2cbf
parent 104 466a0df5c15a
equal deleted inserted replaced
241:973a4e3b29b5 246:4a60358e2cbf
    72 
    72 
    73 #elif defined(__EABI__)
    73 #elif defined(__EABI__)
    74 
    74 
    75 TInt CallThrdProcEntry(TInt (*aFn)(void*), void* aPtr, TInt aNotFirst);
    75 TInt CallThrdProcEntry(TInt (*aFn)(void*), void* aPtr, TInt aNotFirst);
    76 
    76 
    77 __WEAK__ void run_static_dtors(void);
    77 void run_static_dtors(void);
    78 
    78 
    79 void globalDestructorFunc()
    79 void globalDestructorFunc()
    80 	{
    80 	{
    81 	int call_static_dtors = (int)run_static_dtors;
    81 	run_static_dtors();
    82 	if (call_static_dtors)
       
    83 		run_static_dtors();
       
    84 	}
    82 	}
    85 
    83 
    86 void RunThread(TBool aNotFirst, SThreadCreateInfo& aInfo)
    84 void RunThread(TBool aNotFirst, SThreadCreateInfo& aInfo)
    87 	{
    85 	{
    88 	SStdEpocThreadCreateInfo& cinfo = (SStdEpocThreadCreateInfo&)aInfo;
    86 	SStdEpocThreadCreateInfo& cinfo = (SStdEpocThreadCreateInfo&)aInfo;