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

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -