concurrency - How can I declare tasks inside an ada package? -
i'm trying write program class. in specifications, tasks cannot have procedures or functions. must use package name access tasks. how can go doing this? can write along lines of
package hello task sample is... end sample; end hello;
yes.
you of course have put task body in package body.
Comments
Post a Comment