Searched refs:critical_section (Results 1 – 2 of 2) sorted by relevance
163 void _tx_win32_critical_section_obtain(TX_WIN32_CRITICAL_SECTION *critical_section) in _tx_win32_critical_section_obtain() argument170 if (critical_section -> tx_win32_critical_section_owner == GetCurrentThreadId()) in _tx_win32_critical_section_obtain()174 critical_section -> tx_win32_critical_section_nested_count++; in _tx_win32_critical_section_obtain()183 …while (WaitForSingleObject(critical_section -> tx_win32_critical_section_mutex_handle, 3) != WAIT_… in _tx_win32_critical_section_obtain()190 critical_section -> tx_win32_critical_section_nested_count = 1; in _tx_win32_critical_section_obtain()193 critical_section -> tx_win32_critical_section_owner = GetCurrentThreadId(); in _tx_win32_critical_section_obtain()198 void _tx_win32_critical_section_release(TX_WIN32_CRITICAL_SECTION *critical_section) in _tx_win32_critical_section_release() argument203 if (critical_section -> tx_win32_critical_section_owner == GetCurrentThreadId()) in _tx_win32_critical_section_release()207 if (critical_section -> tx_win32_critical_section_nested_count) in _tx_win32_critical_section_release()211 critical_section -> tx_win32_critical_section_nested_count--; in _tx_win32_critical_section_release()[all …]
332 void _tx_win32_critical_section_obtain(TX_WIN32_CRITICAL_SECTION *critical_section);333 void _tx_win32_critical_section_release(TX_WIN32_CRITICAL_SECTION *critical_section);334 void _tx_win32_critical_section_release_all(TX_WIN32_CRITICAL_SECTION *critical_section);