Added subheader for separate argument rule.

Author:halw
Date:2011-07-14T17:27:05.000000Z


git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@935 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
halw
2011-07-14 17:27:05 +00:00
parent 05828911b1
commit 3baa8de554

View File

@@ -1,7 +1,6 @@
[[Property:title|Producer-consumer]] [[Property:title|Producer-consumer]]
[[Property:weight|-13]] [[Property:weight|-13]]
[[Property:uuid|03739be2-e0d5-f5f0-b405-0bb75c8fee0f]] [[Property:uuid|03739be2-e0d5-f5f0-b405-0bb75c8fee0f]]
{{Beta}} {{Beta}}
@@ -16,6 +15,8 @@ So at any time, the buffer could be empty, precluding any consumer from withdraw
The root class of the example creates the bounded product buffer and a number of producers and consumers, all given <code>separate</code> types. It requests the producers to create a number of products, and the consumers, in the aggregate, to consume that same number of products. The root class of the example creates the bounded product buffer and a number of producers and consumers, all given <code>separate</code> types. It requests the producers to create a number of products, and the consumers, in the aggregate, to consume that same number of products.
==Separate argument rule==
Notice that the root class uses a feature <code>launch_producer</code> (and a corresponding feature <code>launch_consumer</code>) for instructing the producers and consumers on how many products to handle. <code>launch_producer</code> looks like this: Notice that the root class uses a feature <code>launch_producer</code> (and a corresponding feature <code>launch_consumer</code>) for instructing the producers and consumers on how many products to handle. <code>launch_producer</code> looks like this:
<code> <code>