In reply to vipra:
The automatic variable declaration needs to go inside the fork/join_none. See the last example in section 9.3.2 Parallel blocks of the IEEE 1800-2012 LRM
In reply to vipra:
The automatic variable declaration needs to go inside the fork/join_none. See the last example in section 9.3.2 Parallel blocks of the IEEE 1800-2012 LRM