Menu

#501 Wrong format using fork declaration

v1.0_(example)
closed
nobody
None
5
2017-07-05
2017-07-05
No

Hi SVEditor developers,

I have seen that if i declare a variable between fork and first thread begin, then the format is corrupted.

Including variables before the begin of a thread and after the fork declaration is not only allowed but very important since this will be a variable that is assigned before the start of the threads.

Please see the code that produces wrong format.

                    fork
                    automatic int fork_selected_irq_idx=selected_irq_idx;
                begin                   
                    blabla=1;                   
                end
                join_none

Thanks in advance
Jonathan

Discussion

  • Jonathan Alvarez

    Sorry it was my fault. Please close this ticket. It is not true what i stated and it is working.

     
  • StevenAZ

    StevenAZ - 2017-07-05
    • status: open --> closed
     
  • StevenAZ

    StevenAZ - 2017-07-05

    Closed.

    Thanks for the report (even if it was false).

     

Log in to post a comment.