mid 61 src/libsir/include/sir/helpers.h # define _SIR_LOCK_SECTION(type, name, mid, ret) \ mid 62 src/libsir/include/sir/helpers.h type* name = _sir_locksection(mid); \ mid 71 src/libsir/include/sir/helpers.h # define _SIR_UNLOCK_SECTION(mid) \ mid 72 src/libsir/include/sir/helpers.h _sir_unlocksection(mid) mid 102 src/libsir/include/sir/internal.h void* _sir_locksection(sir_mutex_id mid); mid 105 src/libsir/include/sir/internal.h void _sir_unlocksection(sir_mutex_id mid); mid 108 src/libsir/include/sir/internal.h bool _sir_mapmutexid(sir_mutex_id mid, sir_mutex** m, void** section); mid 446 src/libsir/src/sirinternal.c void* _sir_locksection(sir_mutex_id mid) { mid 450 src/libsir/src/sirinternal.c bool enter = _sir_mapmutexid(mid, &m, &sec) && _sir_mutexlock(m); mid 456 src/libsir/src/sirinternal.c void _sir_unlocksection(sir_mutex_id mid) { mid 460 src/libsir/src/sirinternal.c bool leave = _sir_mapmutexid(mid, &m, &sec) && _sir_mutexunlock(m); mid 464 src/libsir/src/sirinternal.c bool _sir_mapmutexid(sir_mutex_id mid, sir_mutex** m, void** section) { mid 468 src/libsir/src/sirinternal.c switch (mid) {