[comp.lang.ada] passing a task type as a generic pa

stt@ada-uts (07/09/87)

In general, there is not much you can do with a limited private
generic formal type (whether or not it is a task type),
unless you provide operations along with the type.

Therefore your generic should have generic formal
subprograms along with the type.  The generic actual subprograms
will probably have to be simple procedures which take the
task as a parameter and call the desired entry, rather
than the entries themselves.

Tucker Taft
c/o Intermetrics, Inc.
Cambridge, MA