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

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

python 2.7 - Lines in my code being skipped and I am not sure why -

python - multiprocessing pool with map -