__thiscall _Lockit::_Lockit(int kind) : _Locktype(kind) { // lock the mutex if (_Locktype == _LOCK_LOCALE) _lock_locales(); else if (_Locktype < MAX_LOCK) _Mtxlock(&mtx[_Locktype]); }
__thiscall _Lockit::_Lockit() : _Locktype(0) { // lock default mutex if (_Locktype == _LOCK_LOCALE) _lock_locales(); else _Mtxlock(&mtx[0]); }
_RELIABILITY_CONTRACT _MRTIMP2_NPURE void __cdecl _Lockit::_Lockit_ctor(int kind) { // lock the mutex if (kind == _LOCK_LOCALE) _lock_locales(); else _Mtxlock(&mtx[kind & (MAX_LOCK - 1)]); }
_MRTIMP2_NPURE void __cdecl _Lockit::_Lockit_ctor(_Lockit * _This, int kind) { // lock the mutex if (kind == _LOCK_LOCALE) _lock_locales(); else { _This->_Locktype = kind & (MAX_LOCK - 1); _Mtxlock(&mtx[_This->_Locktype]); } }
_RELIABILITY_CONTRACT _MRTIMP2_NPURE void __cdecl _Lockit::_Lockit_ctor(int kind) { // lock the mutex _Mtxlock(&mtx[kind & (MAX_LOCK - 1)]); }
_MRTIMP2_NPURE void __cdecl _Lockit::_Lockit_ctor(_Lockit * _This, int kind) { // lock the mutex _This->_Locktype = kind & (MAX_LOCK - 1); _Mtxlock(&mtx[_This->_Locktype]); }
_MRTIMP2_NPURE void __cdecl _Lockit::_Lockit_ctor(_Lockit * _This) { // lock default mutex _Mtxlock(&mtx[0]); }
__thiscall _Lockit::_Lockit(int kind) : _Locktype(kind & (MAX_LOCK - 1)) { // lock the mutex _Mtxlock(&mtx[_Locktype]); }
__thiscall _Lockit::_Lockit() : _Locktype(0) { // lock default mutex _Mtxlock(&mtx[0]); }
extern "C" void _Lock_at_thread_exit_mutex(void) { // lock the at-thread-exit mutex _Mtxlock(&mtx[_LOCK_AT_THREAD_EXIT]); }