You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// See http://www.fssnip.net/nX/title/Limit-degree-of-parallelism-using-an-agent for implementation
toSchedule |> Array.iter (fun x -> agent.Post(Parallel.Start(processItem x)))
90
-
}
91
-
firstItems |> Array.iter (fun x -> agent.Post(Parallel.Start(processItem x)))
92
-
()
93
-
94
-
// TODO Could replace with MailboxProcessor+Tasks/Asyncs instead of BlockingCollection + Threads
95
-
// See http://www.fssnip.net/nX/title/Limit-degree-of-parallelism-using-an-agent
/// See http://www.fssnip.net/nX/title/Limit-degree-of-parallelism-using-an-agent for implementation
toSchedule |> Array.iter (fun x -> agent.Post(Parallel.Start(processItem x)))
71
+
}
72
+
firstItems |> Array.iter (fun x -> agent.Post(Parallel.Start(processItem x)))
73
+
()
74
+
75
+
// TODO Could replace with MailboxProcessor+Tasks/Asyncs instead of BlockingCollection + Threads
76
+
// See http://www.fssnip.net/nX/title/Limit-degree-of-parallelism-using-an-agent
77
+
/// Process items in parallel, allow more work to be scheduled as a result of finished work,
78
+
/// limit parallelisation to 'parallelism' threads
0 commit comments