eapol/eapol_framework/eapol_symbian/am/eap_test_timer/symbian/eap_test_timer.cpp
branchRCL_3
changeset 46 c74b3d9f6b9e
parent 45 bad0cc58d154
equal deleted inserted replaced
45:bad0cc58d154 46:c74b3d9f6b9e
    14 * Description:  EAP and WLAN authentication protocols.
    14 * Description:  EAP and WLAN authentication protocols.
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 /*
    18 /*
    19 * %version: 8.1.2 %
    19 * %version: 10 %
    20 */
    20 */
    21 
    21 
    22 // This is enumeration of EAPOL source code.
    22 // This is enumeration of EAPOL source code.
    23 #if defined(USE_EAP_MINIMUM_RELEASE_TRACES)
    23 #if defined(USE_EAP_MINIMUM_RELEASE_TRACES)
    24 	#undef EAP_FILE_NUMBER_ENUM
    24 	#undef EAP_FILE_NUMBER_ENUM
    48 
    48 
    49 
    49 
    50 _LIT(K_eap_test_timer,"eap_test_timer");
    50 _LIT(K_eap_test_timer,"eap_test_timer");
    51 
    51 
    52 
    52 
    53 EAP_FUNC_EXPORT eap_status_e eap_am_tools_symbian_c::start_timer_thread()
    53 eap_status_e eap_am_tools_symbian_c::start_timer_thread()
    54 { 
    54 { 
    55 	EAP_TRACE_DEBUG(this, TRACE_FLAGS_DEFAULT, (EAPL("Create timer thread.\n")));
    55 	EAP_TRACE_DEBUG(this, TRACE_FLAGS_DEFAULT, (EAPL("Create timer thread.\n")));
    56 
    56 
    57 	RThread thread;
    57 	RThread thread;
    58 
    58 
    79 	}
    79 	}
    80 	return eap_status_ok;
    80 	return eap_status_ok;
    81 }
    81 }
    82 
    82 
    83 
    83 
    84 EAP_FUNC_EXPORT eap_status_e eap_am_tools_symbian_c::stop_timer_thread()
    84 eap_status_e eap_am_tools_symbian_c::stop_timer_thread()
    85 {
    85 {
    86 	EAP_TRACE_DEBUG(this, TRACE_FLAGS_DEFAULT, (EAPL("Trigger timer thread stops.\n")));
    86 	EAP_TRACE_DEBUG(this, TRACE_FLAGS_DEFAULT, (EAPL("Trigger timer thread stops.\n")));
    87 
    87 
    88 	m_run_thread = false;
    88 	m_run_thread = false;
    89 
    89