packages feed

Control-Engine 1.0.0.1 → 1.1.0.0

raw patch · 2 files changed

+5/−5 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

Control-Engine.cabal view
@@ -1,5 +1,5 @@ name:		Control-Engine-version:	1.0.0.1+version:	1.1.0.0 license:	BSD3 license-file:	LICENSE author:		Thomas DuBuisson <thomas.dubuisson@gmail.com>
Control/Engine.hs view
@@ -70,9 +70,9 @@    The stateManager waits for any updates to the mutator state or hooks.  If any   modifications are made then the new set of hooks or state is provided-  to the workers.  Correctness is handled by keeping the master copies as TVars-  ("Control.Concurrent.STM").  While the mutators and hooks read state from an-  'IORef' ("Control.Concurrent.IORef") to avoid contention.+  to the workers.  Correctness is handled by keeping the master copies as+  'TVars'.  While the mutators and hooks read state from an 'IORef' to avoid+  contention.    The thinking here is that changing the hooks and state is a rare / low   contention action while the need for this information will be constant@@ -288,7 +288,7 @@ 	(Hk _ p d) == (Hk _ p' d') = p == p' && d == d'  instance Ord (Hook a s) where-	(Hk _ p _) `compare` (Hk _ p' _) = p `compare` p'+	(Hk _ p d) `compare` (Hk _ p' d') = (p,d) `compare` (p', d')  instance Show (Hook a s) where 	show (Hk _ p d) = d ++ " Priority = " ++ (show p)