public final short setForkJoinTaskTag ( short tag ) { for ( int s ; ; ) { if ( U . compareAndSwapInt ( this , STATUS , s = status , ( s & ~ SMASK ) | ( tag & SMASK ) ) ) return ( short ) s ; } }
Atomically sets the tag value for this task .