mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-11-04 21:37:45 +00:00
store: state the turns' reentry and lock order
This commit is contained in:
1 parent
996a9580ea
commit
41e5f219e8
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user