crypto2 as a separate library
This commit is contained in:
1 parent
67c0009b5b
commit
ae3af68dab
23 files changed
+13
-730
No files matched your search
@@ -1,8 +0,0 @@
|
||||
package net.sergeych.tools
|
||||
|
||||
actual fun ProtectedOp(): ProtectedOpImplementation = object : ProtectedOpImplementation {
|
||||
private val lock = Object()
|
||||
override fun <T> invoke(f: () -> T): T {
|
||||
synchronized(lock) { return f() }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user