9398ea5a59
We need support for recursive locks. The main user of this class is the environment object. This commit adds a test that demonstrates that the shared_lock of the environment object may be recursively requested. Before this fix, the Lean was deadlocking in this example. Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
4 lines
59 B
Text
4 lines
59 B
Text
Set: pp::colors
|
|
Set: pp::unicode
|
|
Variable x : Int
|
|
done
|