- [(i, ms ("mTaskSDS-" +++ toString i) 1):makeShares {s & sdss=xs}]
- where
- ms name i = sdsFocus name (memoryStore name (Just i))
+ [(i, sharedStore ("mTaskSDS-" +++ toString i) 1):makeShares {s & sdss=xs}]
+
+//makeBytecode :: Int (Main (ByteCode () Stmt)) -> ([MTaskMSGSend], [(Int, Shared Int)])
+//makeBytecode timeout bc
+//# (msgs, st) = toMessages timeout (toRealByteCode (unMain bc))
+//# shares = map (\(i,d)->(i, sharedStore (s i) (dd d))) st.sdss
+//= (msgs, shares)
+// where
+// s i = "mTaskSDS-" +++ toString i
+// dd [x,y] = (toInt x)*265+(toInt y)
+