static WorkQueue commonSubmitterQueue ( ) { ForkJoinPool p = common ; int r = ThreadLocalRandomHelper . getProbe ( ) ; WorkQueue [ ] ws ; int m ; return ( p != null && ( ws = p . workQueues ) != null && ( m = ws . length - 1 ) >= 0 ) ? ws [ m & r & SQMASK ] : null ; }
Returns common pool queue for an external thread .