Changeset 3446 for trunk/src/kash/shinstance.c
- Timestamp:
- Sep 10, 2020, 10:48:14 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kash/shinstance.c
r3444 r3446 108 108 109 109 110 111 /** Magic mutex value (final u64).112 * This is used to detect whether the mutex has been initialized or not,113 * allowing shmtx_delete to be called more than once without doing harm.114 * @internal */115 #define SHMTX_MAGIC KU64_C(0x8888000019641018) /**< Charles Stross */116 /** Index into shmtx::au64 of the SHMTX_MAGIC value.117 * @internal */118 #define SHMTX_MAGIC_IDX (sizeof(shmtx) / sizeof(KU64) - 1)119 110 120 111 int shmtx_init(shmtx *pmtx)
Note:
See TracChangeset
for help on using the changeset viewer.