We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e857397 commit 299a7cdCopy full SHA for 299a7cd
atomicfu/src/nativeMain/kotlin/kotlinx/atomicfu/locks/Synchronized.kt
@@ -190,7 +190,7 @@ class MutexPool(capacity: Int) {
190
191
init {
192
for (i in 0 until capacity) {
193
- release(interpretCPointer<mutex_node_t>(mutexes.rawValue.plus(i * mutex_node_t.size))!!)
+ release(interpretCPointer<mutex_node_t>(mutexes.rawValue.plus(i * sizeOf<mutex_node_t>()))!!)
194
}
195
196
0 commit comments