F# Future using lazy and a threading event. Supports creating futures from functions or asyncs. Eager evaluation of can be specified.
4 people like thisPosted: 13 years ago by Ankur Dhama
If you have read the awesome book by Jeffrey Richter CLR via C# 4 ed. you have discovered that there are more optimal ways for thread synchronization than the one provided by the BCL. One of them is the use of new asynchronous capabilities in order to create an asynchronous synchronization primitive. In the book it is presented an AsyncOneManyLock which is used for thread synchornization for code with a high demand for responsiveness and scalability. If you are an F# developer you know that the F# Asynchornous Workflow and the Task Parallel Library are different, so I decided to port this useful piece of code to F# and show you how to use it with an example.
0 people like thisPosted: 10 years ago by Antonio Parata