301 |
|
} |
302 |
|
|
303 |
|
/** |
304 |
< |
* The parent of this phaser, or null if none |
304 |
> |
* The parent of this phaser, or null if none. |
305 |
|
*/ |
306 |
|
private final Phaser parent; |
307 |
|
|
388 |
|
} |
389 |
|
|
390 |
|
/** |
391 |
< |
* Implementation of register, bulkRegister |
391 |
> |
* Implementation of register, bulkRegister. |
392 |
|
* |
393 |
|
* @param registrations number to add to both parties and |
394 |
|
* unarrived fields. Must be greater than zero. |
922 |
|
} |
923 |
|
|
924 |
|
/** |
925 |
< |
* Implementation of toString and string-based error messages |
925 |
> |
* Implementation of toString and string-based error messages. |
926 |
|
*/ |
927 |
|
private String stateToString(long s) { |
928 |
|
return super.toString() + |
1050 |
|
} |
1051 |
|
|
1052 |
|
/** |
1053 |
< |
* Wait nodes for Treiber stack representing wait queue |
1053 |
> |
* Wait nodes for Treiber stack representing wait queue. |
1054 |
|
*/ |
1055 |
|
static final class QNode implements ForkJoinPool.ManagedBlocker { |
1056 |
|
final Phaser phaser; |