Menu

#15 Can’t tell which task has exited

open
None
2015-03-20
2015-03-20
No

If a task exits, System.Tasking.Restricted.Stages.Wrapper says

  --  If we return here, the task procedure has exited (and not
  --  because of an exception, which would already have reached
  --  the last chance handler).
  raise Program_Error with "task exited, not allowed in Ravenscar”;

but it’s not at all obvious how to tell which task is involved (if indeed it’s possible).

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.