abs_eap_am_mutex_c Class Reference

class abs_eap_am_mutex_c
Public Member Functions
abs_eap_am_mutex_c ()
~abs_eap_am_mutex_c ()
EAP_FUNC_IMPORT abs_eap_am_mutex_c * dublicate_mutex ()
EAP_FUNC_IMPORT bool get_is_reserved ()
EAP_FUNC_IMPORT bool get_is_valid ()
EAP_FUNC_IMPORT eap_status_e mutex_enter ()
EAP_FUNC_IMPORT eap_status_e mutex_leave ( abs_eap_am_tools_c *const )

Constructor & Destructor Documentation

abs_eap_am_mutex_c()

EAP_FUNC_IMPORT abs_eap_am_mutex_c ( )

~abs_eap_am_mutex_c()

EAP_FUNC_IMPORT ~abs_eap_am_mutex_c ( ) [virtual]

Member Functions Documentation

dublicate_mutex()

EAP_FUNC_IMPORT abs_eap_am_mutex_c * dublicate_mutex ( ) [pure virtual]

The mutex handle must be dublicated in Symbian operating system for each thread.

get_is_reserved()

EAP_FUNC_IMPORT bool get_is_reserved ( ) const [pure virtual]

This function returns the flag that indicates whether the mutex is reserved. This is used in debug asserts. Those will check the mutex is really reserved when critical code is entered.

get_is_valid()

EAP_FUNC_IMPORT bool get_is_valid ( ) const [pure virtual]

Returns the validity of the mutex.

mutex_enter()

EAP_FUNC_IMPORT eap_status_e mutex_enter ( ) [pure virtual]

This function enters the mutex. Thread will block until the mutex is released by other owner of the mutex.

mutex_leave(abs_eap_am_tools_c *const)

EAP_FUNC_IMPORT eap_status_e mutex_leave ( abs_eap_am_tools_c *const m_am_tools ) [pure virtual]

This function leaves the mutex. Other blocking thread will continue execution.

Parameters

abs_eap_am_tools_c *const m_am_tools