I am looking to see if Future/Promise can be used efficiently to implement the Producer/Consumer pattern. Would it be more efficient than the standard pattern that usually has a busy wait in the consumer?
The idea came to me as I came across an example of implementing Producer/Consumer in c# using task/async http://ift.tt/2kamkXr
Aucun commentaire:
Enregistrer un commentaire