From 41e5f219e849780bbf0ac7cdc53b1bc9bb6e00a1 Mon Sep 17 00:00:00 2001 From: shum Date: Wed, 21 Oct 2026 22:26:27 +0000 Subject: [PATCH] store: state the turns' reentry and lock order --- apps/simplex-store-service/src/StoreService/Names/Turns.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/simplex-store-service/src/StoreService/Names/Turns.hs b/apps/simplex-store-service/src/StoreService/Names/Turns.hs index 0ff9968594..8d0c47db78 100644 --- a/apps/simplex-store-service/src/StoreService/Names/Turns.hs +++ b/apps/simplex-store-service/src/StoreService/Names/Turns.hs @@ -1,5 +1,6 @@ {-# LANGUAGE NamedFieldPuns #-} +-- | A thread that takes a turn it already holds waits forever. Label turns are taken before a code turn. module StoreService.Names.Turns (Turns, newTurns, withLabelTurn, withLabelTurns, withCodeTurn) where import Control.Concurrent.STM