mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2025-12-07 07:12:25 +01:00
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:
@@ -1,7 +1,6 @@
|
||||
[[Property:title|Producer-consumer]]
|
||||
[[Property:weight|-13]]
|
||||
[[Property:uuid|03739be2-e0d5-f5f0-b405-0bb75c8fee0f]]
|
||||
|
||||
{{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.
|
||||
|
||||
==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:
|
||||
|
||||
<code>
|
||||
|
||||
Reference in New Issue
Block a user