Why extern forkjoin function won't work in interface?

Hi all,

In interfaces, we know that we can export multiple tasks from different instances of the same module. But I couldn’t understand why we can’t export function similarly.

reference LRM-25.7.4

Thank you.

In reply to sasi_8985:

Because forks usually only make sense in the context of time consuming statements. Although in this case there’s really no good reason to prohibit functions with void return.

This construct predates classes and fork/join_none which gives you much more flexibility.