Chain-of-responsibility pattern: Difference between revisions

Content deleted Content added
m [[Visual Prolog]]: language corrections
m [[Visual Prolog]]: the example is realistic
Line 73:
=== [[Visual Prolog]] ===
 
This is an almost realistic example of protecting the operations on a stream with a named mutex.
First the outputStream interface (a simplified version of the real one):