Work with slim instead

This commit is contained in:
2026-06-01 07:01:25 -05:00
parent 0459b0a84e
commit 3e5932b2ad
18 changed files with 464 additions and 36 deletions

View File

@@ -0,0 +1,19 @@
class MutexLock
{
private mtx;
public MutexLock(mtx)
{
this.mtx = mtx;
mtx.Lock();
}
public Dispose()
{
mtx.Unlock();
}
}
func Lock(mtx)
{
return new MutexLock(mtx);
}