summaryrefslogtreecommitdiff
path: root/Assistant/Types/Commits.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Assistant/Types/Commits.hs')
-rw-r--r--Assistant/Types/Commits.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Assistant/Types/Commits.hs b/Assistant/Types/Commits.hs
index bb17c578b..12dab8da8 100644
--- a/Assistant/Types/Commits.hs
+++ b/Assistant/Types/Commits.hs
@@ -9,9 +9,11 @@ module Assistant.Types.Commits where
import Utility.TSet
+import Control.Concurrent.STM
+
type CommitChan = TSet Commit
data Commit = Commit
newCommitChan :: IO CommitChan
-newCommitChan = newTSet
+newCommitChan = atomically newTSet