jeudi 2 janvier 2020

What is the opposite of a Dispatcher pattern?

A dispatcher delegate work to other objects but is there a pattern for when objects take work if on a stack? I'm trying to have a group of threaded objects check a shared stack for input where if one object is free, it would grab the next untaken input from the stack to process.

Aucun commentaire:

Enregistrer un commentaire