shared keyword

Description

shared indicates a variable is shared between threads.

shared int i;
shared [2] int a[200];
strict shared int i;

 

 

Terms, definitions, and symbols

Back to index of all UPC functions