Ilia

Results 4 comments of Ilia

**1.** Why not to add this methods to mutex itself. ``` local m = effil.mutex() m:unique_lock(function() -- end) ``` **2.** Idiom for this is `synchronized`. https://docs.oracle.com/javase/tutorial/essential/concurrency/syncmeth.html **3.** Can we add...

Rename this stuff from `unique_lock` to `synchronized` or something like it. And add regular mutex, shared mutex and conditional variable.

Привет! Посмотрите пожалуйста на версии 3.3.

You can use recently added ["Custom assertions"](https://github.com/IUdalov/u-test#custom-assertions) and craft something like. ```lua local function tables_equal(tbl1, tbl2) if not (inspect(tbl1) == inspect(tbl2)) then local failure_msg = inspect(tbl1) .. " ~= "...